Format files

This commit is contained in:
Eric Nemchik 2023-02-12 20:51:33 -06:00
parent e4b70cea1d
commit 0eb569982b
16 changed files with 52 additions and 51 deletions

View file

@ -11,3 +11,4 @@ trim_trailing_whitespace = false
[{*.conf,*.conf.sample}] [{*.conf,*.conf.sample}]
indent_style = space indent_style = space
indent_size = 4 indent_size = 4
trim_trailing_whitespace = true

View file

@ -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: 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;` 1. For subfolder methods: `include /config/nginx/proxy-confs/*.subfolder.conf;`
2) For subdomain methods: `include /config/nginx/proxy-confs/*.subdomain.conf;` 2. For subdomain methods: `include /config/nginx/proxy-confs/*.subdomain.conf;`
### Ensure you have a custom docker network ### 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 ### Rename the required proxy configs
1) Rename the conf files and remove the `.sample` at the end (ie. `sonarr.subfolder.conf`) 1. Rename the conf files and remove the `.sample` at the end (ie. `sonarr.subfolder.conf`)
2) Restart the swag container 2. Restart the swag container
### Make any necessary changes detailed in the config ### Make any necessary changes detailed in the config

View file

@ -30,11 +30,11 @@ location ^~ /komga/ {
} }
location ^~ /komga/api { location ^~ /komga/api {
include /config/nginx/proxy.conf; include /config/nginx/proxy.conf;
include /config/nginx/resolver.conf; include /config/nginx/resolver.conf;
set $upstream_app komga; set $upstream_app komga;
set $upstream_port 8080; set $upstream_port 8080;
set $upstream_proto http; set $upstream_proto http;
proxy_pass $upstream_proto://$upstream_app:$upstream_port; proxy_pass $upstream_proto://$upstream_app:$upstream_port;
} }

View file

@ -5,7 +5,7 @@
# This config have been tested with "TLS_FLAVOR=mail" # This config have been tested with "TLS_FLAVOR=mail"
# To avoid errors you must change in docker-compose ports: 80 and 443, more info: https://mailu.io/1.7/reverse.html # To avoid errors you must change in docker-compose ports: 80 and 443, more info: https://mailu.io/1.7/reverse.html
location /admin{ location /admin {
return 301 $scheme://$host/admin/; return 301 $scheme://$host/admin/;
} }
@ -32,7 +32,7 @@ location ^~ /admin/ {
} }
location /webmail{ location /webmail {
return 301 $scheme://$host/webmail/; return 301 $scheme://$host/webmail/;
} }

View file

@ -9,7 +9,6 @@ location /todo {
} }
location ^~ /todo/ { location ^~ /todo/ {
# enable the next two lines for http auth # enable the next two lines for http auth
#auth_basic "Restricted"; #auth_basic "Restricted";
#auth_basic_user_file /config/nginx/.htpasswd; #auth_basic_user_file /config/nginx/.htpasswd;

View file

@ -30,7 +30,7 @@ location ^~ /rclone/ {
rewrite /rclone(.*) $1 break; rewrite /rclone(.*) $1 break;
} }
location ^~ /rclone/websockify { location ^~ /rclone/websockify {
include /config/nginx/proxy.conf; include /config/nginx/proxy.conf;
include /config/nginx/resolver.conf; include /config/nginx/resolver.conf;
set $upstream_app rclone; set $upstream_app rclone;
@ -39,4 +39,4 @@ location ^~ /rclone/ {
proxy_pass $upstream_proto://$upstream_app:$upstream_port/websockify/; proxy_pass $upstream_proto://$upstream_app:$upstream_port/websockify/;
rewrite /rclone(.*) $1 break; rewrite /rclone(.*) $1 break;
} }

View file

@ -33,6 +33,7 @@ location /tvheadend/ {
# enable for Authentik (requires authentik-server.conf in the server block) # enable for Authentik (requires authentik-server.conf in the server block)
#include /config/nginx/authentik-location.conf; #include /config/nginx/authentik-location.conf;
include /config/nginx/proxy.conf; include /config/nginx/proxy.conf;
include /config/nginx/resolver.conf; include /config/nginx/resolver.conf;