Skip to content

Commit

Permalink
vhost medusa
Browse files Browse the repository at this point in the history
  • Loading branch information
xavier84 committed Jan 23, 2019
1 parent c3c920f commit ff6e311
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions files/medusa/medusa.vhost
@@ -1,8 +1,11 @@
location ^~ /medusa {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header Host $host;
proxy_redirect off;
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 $host:443;
proxy_set_header X-Forwarded-Server $host;
proxy_set_header X-Forwarded-Port 443;
proxy_set_header X-Forwarded-Proto $scheme;
# Websocket
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
Expand Down

0 comments on commit ff6e311

Please sign in to comment.