mirror of
https://github.com/linuxserver/reverse-proxy-confs.git
synced 2025-07-06 13:01:35 -07:00
undo proxy setting moves
Signed-off-by: Eric Nemchik <eric@nemchik.com>
This commit is contained in:
parent
80bdd46cc5
commit
9147310745
2 changed files with 4 additions and 5 deletions
|
@ -10,6 +10,8 @@ server {
|
||||||
include /config/nginx/ssl.conf;
|
include /config/nginx/ssl.conf;
|
||||||
|
|
||||||
client_max_body_size 75M;
|
client_max_body_size 75M;
|
||||||
|
proxy_redirect off;
|
||||||
|
proxy_buffering off;
|
||||||
|
|
||||||
# enable for ldap auth (requires ldap-location.conf in the location block)
|
# enable for ldap auth (requires ldap-location.conf in the location block)
|
||||||
#include /config/nginx/ldap-server.conf;
|
#include /config/nginx/ldap-server.conf;
|
||||||
|
@ -41,7 +43,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_buffering off;
|
|
||||||
proxy_redirect off;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -14,6 +14,8 @@ server {
|
||||||
include /config/nginx/ssl.conf;
|
include /config/nginx/ssl.conf;
|
||||||
|
|
||||||
client_max_body_size 0;
|
client_max_body_size 0;
|
||||||
|
proxy_redirect off;
|
||||||
|
proxy_buffering off;
|
||||||
|
|
||||||
# enable for ldap auth (requires ldap-location.conf in the location block)
|
# enable for ldap auth (requires ldap-location.conf in the location block)
|
||||||
#include /config/nginx/ldap-server.conf;
|
#include /config/nginx/ldap-server.conf;
|
||||||
|
@ -45,9 +47,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_buffering off;
|
|
||||||
proxy_redirect off;
|
|
||||||
|
|
||||||
proxy_set_header X-Plex-Client-Identifier $http_x_plex_client_identifier;
|
proxy_set_header X-Plex-Client-Identifier $http_x_plex_client_identifier;
|
||||||
proxy_set_header X-Plex-Device $http_x_plex_device;
|
proxy_set_header X-Plex-Device $http_x_plex_device;
|
||||||
proxy_set_header X-Plex-Device-Name $http_x_plex_device_name;
|
proxy_set_header X-Plex-Device-Name $http_x_plex_device_name;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue