mirror of
https://github.com/linuxserver/reverse-proxy-confs.git
synced 2025-07-16 10:03:03 -07:00
commit
15712472d3
18 changed files with 79 additions and 53 deletions
|
@ -11,3 +11,4 @@ trim_trailing_whitespace = false
|
|||
[{*.conf,*.conf.sample}]
|
||||
indent_style = space
|
||||
indent_size = 4
|
||||
trim_trailing_whitespace = true
|
||||
|
|
|
@ -23,8 +23,8 @@ Conversely subdomain reverse proxying does not require special accommodation by
|
|||
|
||||
Make sure that your default site config contains the following lines in the appropriate spots as seen in the default version:
|
||||
|
||||
1) For subfolder methods: `include /config/nginx/proxy-confs/*.subfolder.conf;`
|
||||
2) For subdomain methods: `include /config/nginx/proxy-confs/*.subdomain.conf;`
|
||||
1. For subfolder methods: `include /config/nginx/proxy-confs/*.subfolder.conf;`
|
||||
2. For subdomain methods: `include /config/nginx/proxy-confs/*.subdomain.conf;`
|
||||
|
||||
### Ensure you have a custom docker network
|
||||
|
||||
|
@ -42,8 +42,8 @@ If the reverse proxied containers are not reachable via dns or they are running
|
|||
|
||||
### Rename the required proxy configs
|
||||
|
||||
1) Rename the conf files and remove the `.sample` at the end (ie. `sonarr.subfolder.conf`)
|
||||
2) Restart the swag container
|
||||
1. Rename the conf files and remove the `.sample` at the end (ie. `sonarr.subfolder.conf`)
|
||||
2. Restart the swag container
|
||||
|
||||
### Make any necessary changes detailed in the config
|
||||
|
||||
|
|
|
@ -9,7 +9,6 @@ location /todo {
|
|||
}
|
||||
|
||||
location ^~ /todo/ {
|
||||
|
||||
# enable the next two lines for http auth
|
||||
#auth_basic "Restricted";
|
||||
#auth_basic_user_file /config/nginx/.htpasswd;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
## Version 2023/02/05
|
||||
## Version 2023/02/12
|
||||
# make sure that your syncthing container is named syncthing
|
||||
# make sure that your dns has a cname set for syncthing
|
||||
|
||||
|
@ -42,5 +42,17 @@ server {
|
|||
set $upstream_proto http;
|
||||
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
|
||||
|
||||
proxy_hide_header Authorization;
|
||||
}
|
||||
|
||||
location ~ (/syncthing)?/rest {
|
||||
include /config/nginx/proxy.conf;
|
||||
include /config/nginx/resolver.conf;
|
||||
set $upstream_app syncthing;
|
||||
set $upstream_port 8384;
|
||||
set $upstream_proto http;
|
||||
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
|
||||
|
||||
proxy_hide_header Authorization;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
## Version 2023/02/05
|
||||
## Version 2023/02/12
|
||||
# make sure that your syncthing container is named syncthing
|
||||
# syncthing does not require a base url setting
|
||||
|
||||
|
@ -28,4 +28,17 @@ location ^~ /syncthing/ {
|
|||
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
|
||||
|
||||
rewrite /syncthing(.*) $1 break;
|
||||
proxy_hide_header Authorization;
|
||||
}
|
||||
|
||||
location ^~ /syncthing/rest {
|
||||
include /config/nginx/proxy.conf;
|
||||
include /config/nginx/resolver.conf;
|
||||
set $upstream_app syncthing;
|
||||
set $upstream_port 8384;
|
||||
set $upstream_proto http;
|
||||
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
|
||||
|
||||
rewrite /syncthing(.*) $1 break;
|
||||
proxy_hide_header Authorization;
|
||||
}
|
||||
|
|
|
@ -33,6 +33,7 @@ location /tvheadend/ {
|
|||
|
||||
# enable for Authentik (requires authentik-server.conf in the server block)
|
||||
#include /config/nginx/authentik-location.conf;
|
||||
|
||||
include /config/nginx/proxy.conf;
|
||||
include /config/nginx/resolver.conf;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue