Skip to content

Commit

Permalink
forward scheme
Browse files Browse the repository at this point in the history
  • Loading branch information
tyarkoni committed Aug 12, 2019
1 parent 103c302 commit c21499c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nginx/sites-enabled/neurosynth
Expand Up @@ -28,6 +28,7 @@ server {
proxy_set_header Host $host;
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_connect_timeout 75s;
proxy_read_timeout 300s;
rewrite ^/api/v2\/*(.*)$ /api/$1 break;
Expand Down

0 comments on commit c21499c

Please sign in to comment.