Skip to content

Commit 7e165ae

Browse files
committed
Merge branch 'master' of github.com:Findarato/reverse-proxy-confs
2 parents 68668c4 + 7cc36be commit 7e165ae

7 files changed

+240
-1
lines changed

gitea.subdomain.conf.sample

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## Version 2023/05/31
1+
## Version 2023/12/26
22
# make sure that your gitea container is named gitea
33
# make sure that your dns has a cname set for gitea
44
# edit the following parameters in /data/gitea/conf/app.ini
@@ -48,4 +48,14 @@ server {
4848
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
4949

5050
}
51+
52+
location ~ (/gitea)?/info/lfs {
53+
include /config/nginx/proxy.conf;
54+
include /config/nginx/resolver.conf;
55+
set $upstream_app gitea;
56+
set $upstream_port 3000;
57+
set $upstream_proto http;
58+
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
59+
60+
}
5161
}

heimdall.subdomain.conf.sample

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,8 @@ server {
4242
set $upstream_proto https;
4343
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
4444

45+
# Enable to secure cookies. Further reading here -> https://developer.mozilla.org/en-US/docs/Web/HTTP/Cookies
46+
#proxy_cookie_path / "/; Secure; SameSite=strict; HttpOnly";
47+
4548
}
4649
}

maintainerr.subdomain.conf.sample

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
## Version 2023/12/14
2+
# make sure that your maintainerr container is named maintainerr
3+
# make sure that your dns has a cname set for maintainerr
4+
5+
server {
6+
listen 443 ssl http2;
7+
listen [::]:443 ssl http2;
8+
9+
server_name maintainerr.*;
10+
11+
include /config/nginx/ssl.conf;
12+
13+
client_max_body_size 0;
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 maintainerr;
41+
set $upstream_port 80;
42+
set $upstream_proto http;
43+
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
44+
45+
}
46+
47+
}
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
## Version 2024/02/20
2+
# make sure that your speedtest-tracker container is named speedtest-tracker
3+
# make sure that your dns has a cname set for speedtest-tracker
4+
5+
server {
6+
listen 443 ssl http2;
7+
listen [::]:443 ssl http2;
8+
9+
server_name speedtest-tracker.*;
10+
11+
include /config/nginx/ssl.conf;
12+
13+
client_max_body_size 0;
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 speedtest-tracker;
41+
set $upstream_port 80;
42+
set $upstream_proto http;
43+
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
44+
45+
}
46+
47+
}

stirling-pdf.subdomain.conf.sample

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
## Version 2024/02/23
2+
# make sure that your stirling-pdf container is named stirling-pdf
3+
# make sure that your dns has a cname set for stirling-pdf
4+
5+
server {
6+
listen 443 ssl http2;
7+
listen [::]:443 ssl http2;
8+
9+
server_name stirling-pdf.*;
10+
11+
include /config/nginx/ssl.conf;
12+
13+
client_max_body_size 0;
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 stirling-pdf;
41+
set $upstream_port 8080;
42+
set $upstream_proto http;
43+
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
44+
45+
}
46+
47+
}

webtop.subfolder.conf.sample

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
## Version 2024/02/14
2+
# make sure that your webtop container is named webtop
3+
# make sure that webtop is set to work with the base url /webtop/
4+
# works with any KasmVNC based image
5+
6+
location ^~ /webtop {
7+
# enable the next two lines for http auth
8+
#auth_basic "Restricted";
9+
#auth_basic_user_file /config/nginx/.htpasswd;
10+
11+
# enable for ldap auth (requires ldap-server.conf in the server block)
12+
#include /config/nginx/ldap-location.conf;
13+
14+
# enable for Authelia (requires authelia-server.conf in the server block)
15+
#include /config/nginx/authelia-location.conf;
16+
17+
# enable for Authentik (requires authentik-server.conf in the server block)
18+
#include /config/nginx/authentik-location.conf;
19+
20+
include /config/nginx/proxy.conf;
21+
include /config/nginx/resolver.conf;
22+
set $upstream_app webtop;
23+
set $upstream_port 3000;
24+
set $upstream_proto http;
25+
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
26+
27+
proxy_buffering off;
28+
29+
}

wikijs.subdomain.conf.sample

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
## Version 2023/05/31
2+
# make sure that your wikijs container is named wikijs
3+
# make sure that your dns has a cname set for wikijs
4+
5+
server {
6+
listen 443 ssl http2;
7+
listen [::]:443 ssl http2;
8+
9+
server_name wikijs.*;
10+
11+
include /config/nginx/ssl.conf;
12+
13+
client_max_body_size 0;
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 wikijs;
41+
set $upstream_port 3000;
42+
set $upstream_proto http;
43+
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
44+
45+
}
46+
47+
location ~ (/wikijs)?/graphql {
48+
include /config/nginx/proxy.conf;
49+
include /config/nginx/resolver.conf;
50+
set $upstream_app wikijs;
51+
set $upstream_port 3000;
52+
set $upstream_proto http;
53+
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
54+
55+
}
56+
}

0 commit comments

Comments
 (0)