Rename $http_host to $host
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2020-06-01 17:33:37 +02:00
parent 2f9debf2f3
commit ca73a86292

View File

@@ -4,12 +4,12 @@ server {
location /api/ {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $http_host;
proxy_set_header Host $host;
proxy_set_header X-NginX-Proxy true;
rewrite ^/api/?(.*) /$1 break;
proxy_pass http://api.tsotr.humenius.me;
proxy_pass http://api.tsotr.humenius.me/;
}
location / {