Commit e75430f8 authored by Pepijn Boers's avatar Pepijn Boers
Browse files

Minor update

parent 59e1457d
......@@ -63,7 +63,12 @@ http {
location = /mirror {
internal;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header Host $http_host;
proxy_set_header X-NginX-Proxy true;
# $request_uri is "/something" for url "https://example.com/something"
proxy_pass http://app-dnt$request_uri;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment