We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The generated NGINX configuration for Symfony app not working without changes.
Example changement: From:
location /sf/ { root /home/sf/current/public; try_files $uri /index.php$is_args$args; location ~ ^/index\.php(/|$) { fastcgi_pass unix:/run/php/sf-{{ sf_php_version }}.sock; fastcgi_split_path_info ^(.+\.php)(/.*)$; include fastcgi_params; fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name; fastcgi_param DOCUMENT_ROOT $realpath_root; internal; } location ~ \.php$ { return 404; } }
To:
location /sf/ { alias /home/sf/current/public/; try_files $uri /sf//sf/index.php$is_args$args; location ~ ^/sf/index\.php(/|$) { root /home/sf/current/public; fastcgi_pass unix:/run/php/sf-{{ sf_php_version }}.sock; fastcgi_split_path_info ^(.+\.php)(/.*)$; include fastcgi_params; fastcgi_param SCRIPT_FILENAME $realpath_root/index.php; fastcgi_param DOCUMENT_ROOT $realpath_root; internal; } location ~ \.php$ { return 404; } }
fastcgi_param SCRIPT_FILENAME
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The generated NGINX configuration for Symfony app not working without changes.
Example changement:
From:
To:
fastcgi_param SCRIPT_FILENAME
The text was updated successfully, but these errors were encountered: