mirror of
https://github.com/TeamPiped/Piped-Docker.git
synced 2024-12-12 21:30:41 +05:30
Use dynamic variable for varnish proxy_pass.
This commit is contained in:
parent
aa3f174f5e
commit
6804354ab5
@ -2,8 +2,10 @@ server {
|
||||
listen 80;
|
||||
server_name BACKEND_HOSTNAME;
|
||||
|
||||
set $backend "http://varnish:80";
|
||||
|
||||
location / {
|
||||
proxy_pass http://varnish:80;
|
||||
proxy_pass $backend;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Connection "keep-alive";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user