mirror of
https://github.com/linuxserver/reverse-proxy-confs.git
synced 2025-08-14 02:27:24 -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
|
@ -9,10 +9,13 @@ location /blog {
|
|||
#enable the next two lines for ldap auth, also customize and enable ldap.conf in the default conf
|
||||
#auth_request /auth;
|
||||
#error_page 401 =200 /login;
|
||||
|
||||
|
||||
include /config/nginx/proxy.conf;
|
||||
resolver 127.0.0.11 valid=30s;
|
||||
set $upstream_app ghost;
|
||||
proxy_pass http://$upstream_app:2368;
|
||||
set $upstream_port 2368;
|
||||
set $upstream_proto http;
|
||||
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
|
||||
|
||||
proxy_redirect off;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue