Browse Source

+ fastcgi setting SERVER_NAME for correctly working xdebug with some server names config

master
dimti 4 months ago
parent
commit
f63747e59f
  1. 2
      config/nginx/conf.d/z-wordpress.conf.example

2
config/nginx/conf.d/z-wordpress.conf.example

@ -25,6 +25,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 php74;
fastcgi_index index.php;
@ -55,6 +56,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 php74;
fastcgi_index index.php;

Loading…
Cancel
Save