Skip to content
Snippets Groups Projects
Commit ec28fce0 authored by Camille Blanchon's avatar Camille Blanchon
Browse files

Merge branch 'redmine-issues/21750' into 'develop'

REDMINE_ISSUE-21750 | Faille sécu - accès aux documents PDF d'un signalement sans authentification préalable

See merge request geocontrib/geocontrib-frontend!804
parents e2dc465e 5c0a8948
No related branches found
No related tags found
No related merge requests found
......@@ -51,12 +51,20 @@ server {
proxy_pass http://geocontrib_site;
}
location /geocontrib/static/ {
alias /opt/geocontrib/static/;
location /geocontrib/media/ {
proxy_pass_header Set-Cookie;
proxy_set_header X-NginX-Proxy true;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $host;
proxy_read_timeout 300s;
proxy_redirect off;
proxy_pass http://geocontrib_site
}
location /geocontrib/media/ {
alias /opt/geocontrib/media/;
location /geocontrib/static/ {
alias /opt/geocontrib/static/;
}
location /geocontrib/ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment