mirror of
https://github.com/linuxserver/reverse-proxy-confs.git
synced 2025-08-20 05:13:43 -07:00
Add Port and Proto variables
This commit is contained in:
parent
a8c9468d1f
commit
0c24b78a0b
136 changed files with 856 additions and 260 deletions
|
@ -27,9 +27,11 @@ location ^~ /nextcloud/ {
|
|||
include /config/nginx/proxy.conf;
|
||||
resolver 127.0.0.11 valid=30s;
|
||||
set $upstream_app nextcloud;
|
||||
set $upstream_port 443;
|
||||
set $upstream_proto https;
|
||||
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
|
||||
|
||||
rewrite /nextcloud(.*) $1 break;
|
||||
proxy_pass https://$upstream_app:443;
|
||||
|
||||
proxy_max_temp_file_size 2048m;
|
||||
|
||||
proxy_set_header Range $http_range;
|
||||
|
@ -37,4 +39,4 @@ location ^~ /nextcloud/ {
|
|||
proxy_set_header Connection $http_connection;
|
||||
proxy_redirect off;
|
||||
proxy_ssl_session_reuse off;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue