Skip to content

Commit f6d365e

Browse files
committed
Merge branch 'master' of github.com:Findarato/reverse-proxy-confs
2 parents d9d0a8b + d43d3e2 commit f6d365e

File tree

3 files changed

+100
-0
lines changed

3 files changed

+100
-0
lines changed

cadvisor.subdomain.conf.sample

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,5 +41,16 @@ server {
4141
set $upstream_port 8080;
4242
set $upstream_proto http;
4343
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
44+
45+
}
46+
47+
location ~ (/cadvisor)?/api {
48+
include /config/nginx/proxy.conf;
49+
include /config/nginx/resolver.conf;
50+
set $upstream_app cadvisor;
51+
set $upstream_port 8080;
52+
set $upstream_proto http;
53+
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
54+
4455
}
4556
}

linkstack.subdomain.conf.sample

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
## Version 2023/06/27
2+
# make sure that your dns has a cname set for linkstack and that your linkstack container is not using a base url
3+
4+
server {
5+
listen 443 ssl;
6+
listen [::]:443 ssl;
7+
8+
server_name linkstack.*;
9+
10+
include /config/nginx/ssl.conf;
11+
12+
client_max_body_size 0;
13+
14+
# enable for ldap auth (requires ldap-location.conf in the location block)
15+
#include /config/nginx/ldap-server.conf;
16+
17+
# enable for Authelia (requires authelia-location.conf in the location block)
18+
#include /config/nginx/authelia-server.conf;
19+
20+
# enable for Authentik (requires authentik-location.conf in the location block)
21+
#include /config/nginx/authentik-server.conf;
22+
23+
location / {
24+
# enable the next two lines for http auth
25+
#auth_basic "Restricted";
26+
#auth_basic_user_file /config/nginx/.htpasswd;
27+
28+
# enable for ldap auth (requires ldap-server.conf in the server block)
29+
#include /config/nginx/ldap-location.conf;
30+
31+
# enable for Authelia (requires authelia-server.conf in the server block)
32+
#include /config/nginx/authelia-location.conf;
33+
34+
# enable for Authentik (requires authentik-server.conf in the server block)
35+
#include /config/nginx/authentik-location.conf;
36+
37+
include /config/nginx/proxy.conf;
38+
include /config/nginx/resolver.conf;
39+
set $upstream_app linkstack;
40+
set $upstream_port 443;
41+
set $upstream_proto https;
42+
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
43+
}
44+
}

saltrim.subdomain.conf.sample

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
## Version 2023/08/05
2+
# make sure that your saltrim webserver container is named bar_assistant-webserver-1 or manually change to match the upstream_app below
3+
# make sure that your dns has a cname set for saltrim
4+
5+
server {
6+
listen 443 ssl;
7+
listen [::]:443 ssl;
8+
9+
server_name saltrim.*;
10+
11+
include /config/nginx/ssl.conf;
12+
13+
client_max_body_size 100M;
14+
15+
# enable for ldap auth (requires ldap-location.conf in the location block)
16+
#include /config/nginx/ldap-server.conf;
17+
18+
# enable for Authelia (requires authelia-location.conf in the location block)
19+
#include /config/nginx/authelia-server.conf;
20+
21+
# enable for Authentik (requires authentik-location.conf in the location block)
22+
#include /config/nginx/authentik-server.conf;
23+
24+
location / {
25+
# enable the next two lines for http auth
26+
#auth_basic "Restricted";
27+
#auth_basic_user_file /config/nginx/.htpasswd;
28+
29+
# enable for ldap auth (requires ldap-server.conf in the server block)
30+
#include /config/nginx/ldap-location.conf;
31+
32+
# enable for Authelia (requires authelia-server.conf in the server block)
33+
#include /config/nginx/authelia-location.conf;
34+
35+
# enable for Authentik (requires authentik-server.conf in the server block)
36+
#include /config/nginx/authentik-location.conf;
37+
38+
include /config/nginx/proxy.conf;
39+
include /config/nginx/resolver.conf;
40+
set $upstream_app bar_assistant-webserver-1;
41+
set $upstream_port 3000;
42+
set $upstream_proto http;
43+
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
44+
}
45+
}

0 commit comments

Comments
 (0)