mirror of
https://github.com/TeamPiped/Piped-Docker.git
synced 2024-12-06 19:16:27 +01:00
Set resolver for nginx.
This commit is contained in:
@@ -27,5 +27,7 @@ http {
|
||||
|
||||
gzip on;
|
||||
|
||||
resolver 127.0.0.11 ipv6=off valid=10s;
|
||||
|
||||
include /etc/nginx/conf.d/*.conf;
|
||||
}
|
||||
|
||||
@@ -2,8 +2,10 @@ server {
|
||||
listen 80;
|
||||
server_name FRONTEND_HOSTNAME;
|
||||
|
||||
set $backend "http://pipedfrontend:80";
|
||||
|
||||
location / {
|
||||
proxy_pass http://pipedfrontend:80;
|
||||
proxy_pass $backend;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Connection "keep-alive";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user