Skip to content

Commit

Permalink
Try real ip and forwarded for
Browse files Browse the repository at this point in the history
  • Loading branch information
andreasskeidsvoll committed Sep 8, 2023
1 parent c1ce79f commit f0137d0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion repos/testing/rstudio/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ maintainers:
email: system@uninett.no
home: https://www.rstudio.com/products/RStudio/
icon: https://rstudio.com/wp-content/uploads/2018/10/RStudio-Logo-flat.svg
version: 0.2.111
version: 0.2.112
keywords:
- R web IDE
5 changes: 3 additions & 2 deletions repos/testing/rstudio/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,10 @@ server {
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
proxy_set_header X-Forwarded-Proto https;
proxy_set_header Host $host:$server_port;
proxy_read_timeout 20d;
proxy_set_header X-RStudio-Request https://$host:$server_port$request_uri;
proxy_set_header Host $host:$server_port;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}

error_page 500 502 503 504 /50x.html;
Expand Down

0 comments on commit f0137d0

Please sign in to comment.