Skip to content

Commit

Permalink
fixes #438: if URI is given in proxy_pass then nginx decodes and re-e…
Browse files Browse the repository at this point in the history
…ncodes path

which breaks submission attachment with special characters in webform
more details: https://trac.nginx.org/nginx/ticket/2506
  • Loading branch information
sadiqkhoja committed Jun 30, 2023
1 parent bdd0a2e commit a8e24a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion files/nginx/odk.conf.template
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ server {
gzip_types text/plain text/css application/json application/x-javascript text/xml text/csv;

location /- {
proxy_pass http://enketo:8005/-;
proxy_pass http://enketo:8005;
proxy_redirect off;
proxy_set_header Host $host;

Expand Down

0 comments on commit a8e24a0

Please sign in to comment.