diff --git a/config/nginx/conf.d/vhosts.conf.example b/config/nginx/conf.d/vhosts.conf.example index 0948602..503be98 100644 --- a/config/nginx/conf.d/vhosts.conf.example +++ b/config/nginx/conf.d/vhosts.conf.example @@ -23,6 +23,7 @@ server { fastcgi_pass php74; include fastcgi_params; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; + fastcgi_param SERVER_NAME $host; } } @@ -48,6 +49,7 @@ server { fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; fastcgi_param PATH_INFO $fastcgi_path_info; fastcgi_param PATH_TRANSLATED $document_root$fastcgi_path_info; + fastcgi_param SERVER_NAME $host; fastcgi_pass php73; fastcgi_index index.php; diff --git a/dockerfiles/php-fpm/php74.Dockerfile b/dockerfiles/php-fpm/php74.Dockerfile index ac9f6d3..f7c725d 100644 --- a/dockerfiles/php-fpm/php74.Dockerfile +++ b/dockerfiles/php-fpm/php74.Dockerfile @@ -33,6 +33,11 @@ RUN if [ ${INSTALL_PEAR_MAIL} = true ]; then \ COPY ./xdebug.ini /usr/local/etc/php/conf.d/xdebug.ini ########################################################################### +# Permission denied on /tmp folder: +########################################################################### +RUN chmod 1777 /tmp + +########################################################################### # Tune opts: ###########################################################################