mirror of
https://github.com/linuxserver/reverse-proxy-confs.git
synced 2025-07-05 20:41:32 -07:00
remove dupe config that errors in nginx 1.20
This commit is contained in:
parent
47e0494f49
commit
c9ee2b7a26
8 changed files with 10 additions and 18 deletions
|
@ -1,4 +1,4 @@
|
|||
## Version 2021/05/18
|
||||
## Version 2021/07/08
|
||||
# make sure that your dns has a cname set for freshrss
|
||||
|
||||
server {
|
||||
|
@ -36,7 +36,6 @@ server {
|
|||
set $upstream_proto http;
|
||||
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
|
||||
|
||||
proxy_redirect off;
|
||||
proxy_buffering off;
|
||||
proxy_set_header X-Forwarded-Port $server_port;
|
||||
proxy_cookie_path / "/; HTTPOnly; Secure";
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
## Version 2021/05/18
|
||||
## Version 2021/07/08
|
||||
# freshrss does not have a base url setting
|
||||
|
||||
location /freshrss {
|
||||
|
@ -25,7 +25,6 @@ location ^~ /freshrss/ {
|
|||
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
|
||||
|
||||
rewrite /freshrss(.*) $1 break;
|
||||
proxy_redirect off;
|
||||
proxy_buffering off;
|
||||
proxy_set_header X-Forwarded-Port $server_port;
|
||||
proxy_cookie_path / "/; HTTPOnly; Secure";
|
||||
|
|
|
@ -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.
|
||||
|
||||
server {
|
||||
|
@ -36,6 +36,5 @@ server {
|
|||
set $upstream_proto http;
|
||||
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
|
||||
|
||||
proxy_redirect off;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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
|
||||
# Note: /ghost/ is by default used for the admin page. See https://ghost.org/docs/concepts/config/#admin-url
|
||||
|
||||
|
@ -11,8 +11,8 @@ location /blog {
|
|||
#auth_request /auth;
|
||||
#error_page 401 =200 /ldaplogin;
|
||||
|
||||
# enable for Authelia, also enable authelia-server.conf in the default site config
|
||||
#include /config/nginx/authelia-location.conf;
|
||||
# enable for Authelia, also enable authelia-server.conf in the default site config
|
||||
#include /config/nginx/authelia-location.conf;
|
||||
|
||||
include /config/nginx/proxy.conf;
|
||||
include /config/nginx/resolver.conf;
|
||||
|
@ -21,5 +21,4 @@ location /blog {
|
|||
set $upstream_proto http;
|
||||
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
|
||||
|
||||
proxy_redirect off;
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
## Version 2021/05/18
|
||||
## Version 2021/07/08
|
||||
# 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 ");":
|
||||
# 'trusted_proxies' => ['swag'],
|
||||
|
@ -36,6 +36,5 @@ location ^~ /nextcloud/ {
|
|||
proxy_max_temp_file_size 2048m;
|
||||
proxy_set_header Range $http_range;
|
||||
proxy_set_header If-Range $http_if_range;
|
||||
proxy_redirect off;
|
||||
proxy_ssl_session_reuse off;
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
## Version 2021/05/18
|
||||
## Version 2021/07/08
|
||||
# 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 your dns has a cname set for synclounge
|
||||
|
@ -40,7 +40,6 @@ server {
|
|||
set $upstream_proto http;
|
||||
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
|
||||
|
||||
proxy_redirect off;
|
||||
proxy_buffering off;
|
||||
proxy_socket_keepalive on;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
## Version 2021/05/18
|
||||
## Version 2021/07/08
|
||||
# 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:
|
||||
|
@ -45,7 +45,6 @@ location /synclounge/ {
|
|||
|
||||
rewrite /synclounge(.*) $1 break;
|
||||
|
||||
proxy_redirect off;
|
||||
proxy_buffering off;
|
||||
proxy_socket_keepalive on;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
|
|
|
@ -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
|
||||
|
||||
location /youtube-dl {
|
||||
|
@ -21,7 +21,6 @@ location ^~ /youtube-dl/ {
|
|||
set $upstream_proto http;
|
||||
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
|
||||
|
||||
proxy_redirect off;
|
||||
proxy_set_header Referer '';
|
||||
# next line doesn't work with the latest version of: https://github.com/nbr23/youtube-dl-server
|
||||
# proxy_set_header Host $upstream_app:8080;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue