From a8e24a0f2281efad4c77dce96ba41a19a6360d71 Mon Sep 17 00:00:00 2001 From: Sadiq Khoja Date: Fri, 30 Jun 2023 18:56:11 -0400 Subject: [PATCH] fixes #438: if URI is given in proxy_pass then nginx decodes and re-encodes path which breaks submission attachment with special characters in webform more details: https://trac.nginx.org/nginx/ticket/2506 --- files/nginx/odk.conf.template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/nginx/odk.conf.template b/files/nginx/odk.conf.template index b599c3f7..65ceea35 100644 --- a/files/nginx/odk.conf.template +++ b/files/nginx/odk.conf.template @@ -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;