domain}; access_log /web/sites/{$this->name}/logs/{$this->name}.access_log main; error_log /web/sites/{$this->name}/logs/{$this->name}.error_log info; root /web/sites/{$this->name}/web; location ~ \.php$ { # Test for non-existent scripts or throw a 404 error # Without this line, nginx will blindly send any request ending in .php to php-fpm try_files \$uri =404; include /etc/nginx/fastcgi.conf; fastcgi_pass unix:/run/php7-fpm.sock; } }" ];