diff --git a/nginx/invenio3.conf b/nginx/invenio3.conf index 735503b15..5113260ab 100644 --- a/nginx/invenio3.conf +++ b/nginx/invenio3.conf @@ -1,23 +1,23 @@ server { listen 80; server_name localhost; charset utf-8; location /static { root /home/invenio/.virtualenvs/invenio3/var/invenio3-instance; } location / { proxy_pass http://web:5000; - proxy_set_header Host $host; + proxy_set_header Host $http_host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; } error_page 500 502 503 504 /50x.html; location = /50x.html { root /usr/share/nginx/html; } } \ No newline at end of file