Fixed koel nginx config
parent
d7d74235ad
commit
f0e5e83c19
|
@ -8,6 +8,13 @@ server {
|
||||||
server_name ${KOEL_DOMAIN};
|
server_name ${KOEL_DOMAIN};
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
|
proxy_set_header Host $host;
|
||||||
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
|
proxy_set_header X-Forwarded-Host $server_name;
|
||||||
|
proxy_set_header X-Forwarded-Proto $scheme;
|
||||||
|
proxy_set_header X-Forwarded-Ssl on;
|
||||||
|
|
||||||
resolver 127.0.0.11;
|
resolver 127.0.0.11;
|
||||||
proxy_pass http://${KOEL_HOST}:80;
|
proxy_pass http://${KOEL_HOST}:80;
|
||||||
}
|
}
|
||||||
|
|
Reference in New Issue