mirror of
https://github.com/TeamPiped/Piped-Docker
synced 2025-09-03 20:11:00 +02:00
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…
x
Reference in New Issue
Block a user