Skip to content

Commit

Permalink
changes to nginx config
Browse files Browse the repository at this point in the history
  • Loading branch information
BeritJanssen committed May 20, 2020
1 parent 2d61efc commit 8876ed0
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions {{cookiecutter.slug}}/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,13 @@ http {
}

location / {
proxy_set_header Host $host;
proxy_set_header Host $host;
proxy_http_version 1.1;
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 X-Forwarded-Proto $scheme;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_pass http://frontend:4200;
}

Expand Down

0 comments on commit 8876ed0

Please sign in to comment.