docksal / service-nginx

Nginx service images for Docksal
https://docksal.io
MIT License
0 stars 3 forks source link

Add SERVER_NAME fastcgi_param for xdebug support #24

Open jacobsaw opened 8 months ago

jacobsaw commented 8 months ago

Xdebug connections with nginx as the web server require setting "Ignore external connections through unregistered server configurations" in PHPStorm.

Confirmed this is fixed by addingfastcgi_param SERVER_NAME $host; to the fastcgi_params file once nginx is already running.