Skip to content

Commit

Permalink
[repec] Add X-Forwarded-Proto https
Browse files Browse the repository at this point in the history
  • Loading branch information
sandbergja committed Oct 2, 2024
1 parent 958811b commit c1f4cda
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions roles/nginxplus/files/conf/http/repec-prod.conf
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ server {
proxy_pass http://repec-prod;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-Proto https;
proxy_cache repec-prodcache;
limit_req zone=repec-prod-ratelimit burst=20 nodelay;
# handle errors using errors.conf
Expand Down
1 change: 1 addition & 0 deletions roles/nginxplus/files/conf/http/repec-staging.conf
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ server {
proxy_pass http://repec-staging;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-Proto https;
proxy_cache repec-stagingcache;
limit_req zone=repec-staging-ratelimit burst=20 nodelay;
# handle errors using errors.conf
Expand Down

0 comments on commit c1f4cda

Please sign in to comment.