mirror of
https://github.com/hzrd149/nostrudel.git
synced 2025-09-18 11:32:30 +02:00
fix nginx cache-relay proxy
This commit is contained in:
@@ -7,7 +7,10 @@ if [ -n "$CACHE_RELAY" ]; then
|
||||
sed -i 's/CACHE_RELAY_ENABLED = false/CACHE_RELAY_ENABLED = true/g' /usr/share/nginx/html/index.html
|
||||
CACHE_RELAY_PROXY="
|
||||
location /cache-relay {
|
||||
proxy_pass http://$CACHE_RELAY/;
|
||||
proxy_pass http://$CACHE_RELAY/;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade \$http_upgrade;
|
||||
proxy_set_header Connection "upgrade";
|
||||
}
|
||||
"
|
||||
else
|
||||
|
Reference in New Issue
Block a user