nginx.danbooru.conf: fix X-Forwarded-Proto.

Sending `http` is wrong, it causes a redirect loop if HSTS is enabled.
This commit is contained in:
evazion
2018-01-28 16:09:55 -06:00
parent 909c9aad5a
commit c50ad41792

View File

@@ -71,7 +71,7 @@ server {
proxy_set_header X-Real-IP $remote_addr;
proxy_redirect off;
proxy_set_header Host $host:$server_port;
proxy_set_header X-Forwarded-Proto http;
proxy_set_header X-Forwarded-Proto $scheme;
}
location / {