+ fastcgi SERVER_NAME with $host nginx variable for correctly passing server name to xdebug in phpstorm
* chmod to tmp folder in php-fpm container
This commit is contained in:
@ -23,6 +23,7 @@ server {
|
|||||||
fastcgi_pass php74;
|
fastcgi_pass php74;
|
||||||
include fastcgi_params;
|
include fastcgi_params;
|
||||||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
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 SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||||
fastcgi_param PATH_INFO $fastcgi_path_info;
|
fastcgi_param PATH_INFO $fastcgi_path_info;
|
||||||
fastcgi_param PATH_TRANSLATED $document_root$fastcgi_path_info;
|
fastcgi_param PATH_TRANSLATED $document_root$fastcgi_path_info;
|
||||||
|
fastcgi_param SERVER_NAME $host;
|
||||||
|
|
||||||
fastcgi_pass php73;
|
fastcgi_pass php73;
|
||||||
fastcgi_index index.php;
|
fastcgi_index index.php;
|
||||||
|
@ -33,6 +33,11 @@ RUN if [ ${INSTALL_PEAR_MAIL} = true ]; then \
|
|||||||
COPY ./xdebug.ini /usr/local/etc/php/conf.d/xdebug.ini
|
COPY ./xdebug.ini /usr/local/etc/php/conf.d/xdebug.ini
|
||||||
|
|
||||||
###########################################################################
|
###########################################################################
|
||||||
|
# Permission denied on /tmp folder:
|
||||||
|
###########################################################################
|
||||||
|
RUN chmod 1777 /tmp
|
||||||
|
|
||||||
|
###########################################################################
|
||||||
# Tune opts:
|
# Tune opts:
|
||||||
###########################################################################
|
###########################################################################
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user