Update fastcgi_params for user login support

This commit is contained in:
aptalca
2018-10-13 11:30:51 +00:00
parent 7be5c43f83
commit a310917220
5 changed files with 11 additions and 0 deletions

View File

@@ -34,6 +34,9 @@ RUN \
tar xf \
/tmp/heimdall.tar.gz -C \
/var/www/localhost/heimdall --strip-components=1 && \
echo "**** configure nginx ****" && \
echo -e 'fastcgi_param PHP_AUTH_USER $remote_user;\nfastcgi_param PHP_AUTH_PW $http_authorization;' >> \
/etc/nginx/fastcgi_params && \
echo "**** cleanup ****" && \
rm -rf \
/tmp/*