remove dupe config that errors in nginx 1.20

This commit is contained in:
aptalca 2021-07-08 10:37:20 -04:00
parent 47e0494f49
commit c9ee2b7a26
8 changed files with 10 additions and 18 deletions

View file

@ -1,4 +1,4 @@
## Version 2021/05/18 ## Version 2021/07/08
# make sure that your dns has a cname set for freshrss # make sure that your dns has a cname set for freshrss
server { server {
@ -36,7 +36,6 @@ server {
set $upstream_proto http; set $upstream_proto http;
proxy_pass $upstream_proto://$upstream_app:$upstream_port; proxy_pass $upstream_proto://$upstream_app:$upstream_port;
proxy_redirect off;
proxy_buffering off; proxy_buffering off;
proxy_set_header X-Forwarded-Port $server_port; proxy_set_header X-Forwarded-Port $server_port;
proxy_cookie_path / "/; HTTPOnly; Secure"; proxy_cookie_path / "/; HTTPOnly; Secure";

View file

@ -1,4 +1,4 @@
## Version 2021/05/18 ## Version 2021/07/08
# freshrss does not have a base url setting # freshrss does not have a base url setting
location /freshrss { location /freshrss {
@ -25,7 +25,6 @@ location ^~ /freshrss/ {
proxy_pass $upstream_proto://$upstream_app:$upstream_port; proxy_pass $upstream_proto://$upstream_app:$upstream_port;
rewrite /freshrss(.*) $1 break; rewrite /freshrss(.*) $1 break;
proxy_redirect off;
proxy_buffering off; proxy_buffering off;
proxy_set_header X-Forwarded-Port $server_port; proxy_set_header X-Forwarded-Port $server_port;
proxy_cookie_path / "/; HTTPOnly; Secure"; proxy_cookie_path / "/; HTTPOnly; Secure";

View file

@ -1,4 +1,4 @@
## Version 2021/05/18 ## Version 2021/07/08
# make sure that your dns has a cname set for ghost and that your ghost config is not using a subdirectory. # make sure that your dns has a cname set for ghost and that your ghost config is not using a subdirectory.
server { server {
@ -36,6 +36,5 @@ server {
set $upstream_proto http; set $upstream_proto http;
proxy_pass $upstream_proto://$upstream_app:$upstream_port; proxy_pass $upstream_proto://$upstream_app:$upstream_port;
proxy_redirect off;
} }
} }

View file

@ -1,4 +1,4 @@
## Version 2021/05/18 ## Version 2021/07/08
# Make sure you are using a subfolder in your ghost config file. https://ghost.org/docs/concepts/config/#url # Make sure you are using a subfolder in your ghost config file. https://ghost.org/docs/concepts/config/#url
# Note: /ghost/ is by default used for the admin page. See https://ghost.org/docs/concepts/config/#admin-url # Note: /ghost/ is by default used for the admin page. See https://ghost.org/docs/concepts/config/#admin-url
@ -21,5 +21,4 @@ location /blog {
set $upstream_proto http; set $upstream_proto http;
proxy_pass $upstream_proto://$upstream_app:$upstream_port; proxy_pass $upstream_proto://$upstream_app:$upstream_port;
proxy_redirect off;
} }

View file

@ -1,4 +1,4 @@
## Version 2021/05/18 ## Version 2021/07/08
# Assuming this container is called "swag", edit your nextcloud container's config # Assuming this container is called "swag", edit your nextcloud container's config
# located at /config/www/nextcloud/config/config.php and add the following lines before the ");": # located at /config/www/nextcloud/config/config.php and add the following lines before the ");":
# 'trusted_proxies' => ['swag'], # 'trusted_proxies' => ['swag'],
@ -36,6 +36,5 @@ location ^~ /nextcloud/ {
proxy_max_temp_file_size 2048m; proxy_max_temp_file_size 2048m;
proxy_set_header Range $http_range; proxy_set_header Range $http_range;
proxy_set_header If-Range $http_if_range; proxy_set_header If-Range $http_if_range;
proxy_redirect off;
proxy_ssl_session_reuse off; proxy_ssl_session_reuse off;
} }

View file

@ -1,4 +1,4 @@
## Version 2021/05/18 ## Version 2021/07/08
# Use this with SyncLounge v3 and up. # Use this with SyncLounge v3 and up.
# Make sure that you do not have HSTS enabled, otherwise http access won't work # Make sure that you do not have HSTS enabled, otherwise http access won't work
# Make sure that your dns has a cname set for synclounge # Make sure that your dns has a cname set for synclounge
@ -40,7 +40,6 @@ server {
set $upstream_proto http; set $upstream_proto http;
proxy_pass $upstream_proto://$upstream_app:$upstream_port; proxy_pass $upstream_proto://$upstream_app:$upstream_port;
proxy_redirect off;
proxy_buffering off; proxy_buffering off;
proxy_socket_keepalive on; proxy_socket_keepalive on;
proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header X-Forwarded-Proto $scheme;

View file

@ -1,4 +1,4 @@
## Version 2021/05/18 ## Version 2021/07/08
# Use this with SyncLounge v3 or up # Use this with SyncLounge v3 or up
# #
# To allow non-secure connections (http), which is required by some Plex clients, modify the first block in site-confs/default to look something like this: # To allow non-secure connections (http), which is required by some Plex clients, modify the first block in site-confs/default to look something like this:
@ -45,7 +45,6 @@ location /synclounge/ {
rewrite /synclounge(.*) $1 break; rewrite /synclounge(.*) $1 break;
proxy_redirect off;
proxy_buffering off; proxy_buffering off;
proxy_socket_keepalive on; proxy_socket_keepalive on;
proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header X-Forwarded-Proto $scheme;

View file

@ -1,4 +1,4 @@
## Version 2021/05/18 ## Version 2021/07/08
# Works with this youtube-dl Fork: https://github.com/nbr23/youtube-dl-server # Works with this youtube-dl Fork: https://github.com/nbr23/youtube-dl-server
location /youtube-dl { location /youtube-dl {
@ -21,7 +21,6 @@ location ^~ /youtube-dl/ {
set $upstream_proto http; set $upstream_proto http;
proxy_pass $upstream_proto://$upstream_app:$upstream_port; proxy_pass $upstream_proto://$upstream_app:$upstream_port;
proxy_redirect off;
proxy_set_header Referer ''; proxy_set_header Referer '';
# next line doesn't work with the latest version of: https://github.com/nbr23/youtube-dl-server # next line doesn't work with the latest version of: https://github.com/nbr23/youtube-dl-server
# proxy_set_header Host $upstream_app:8080; # proxy_set_header Host $upstream_app:8080;