diff --git a/domjudge-packaging/docker/domserver/scripts/patches.d/90-add-nginx-remote-user.sh b/domjudge-packaging/docker/domserver/scripts/patches.d/90-add-nginx-remote-user.sh index ec2ed6a..ad2bf9f 100755 --- a/domjudge-packaging/docker/domserver/scripts/patches.d/90-add-nginx-remote-user.sh +++ b/domjudge-packaging/docker/domserver/scripts/patches.d/90-add-nginx-remote-user.sh @@ -1,5 +1,5 @@ #!/bin/bash -e # shellcheck disable=SC2154 -sed -i "s!fastcgi_param *REMOTE_USER *$remote_user;!fastcgi_param REMOTE_USER $http_remote_user;!g" /etc/nginx/fastcgi_params +sed -i 's!fastcgi_param *REMOTE_USER *$remote_user;!fastcgi_param REMOTE_USER $http_remote_user;!g' /etc/nginx/fastcgi_params echo 'underscores_in_headers on;' >> /etc/nginx/snippets/domjudge-inner