Just type "docker-compose up" to install a Flex project (major refactoring)
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
server {
|
||||
root /srv/app/web;
|
||||
root /srv/app/public;
|
||||
resolver 127.0.0.11;
|
||||
|
||||
location / {
|
||||
# try to serve file directly, fallback to app.php
|
||||
# try to serve file directly, fallback to index.php
|
||||
try_files $uri /index.php$is_args$args;
|
||||
}
|
||||
location ~ ^/index\.php(/|$) {
|
||||
@@ -20,7 +20,7 @@ server {
|
||||
fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
|
||||
fastcgi_param DOCUMENT_ROOT $realpath_root;
|
||||
# Prevents URIs that include the front controller. This will 404:
|
||||
# http://domain.tld/app.php/some-path
|
||||
# http://domain.tld/index.php/some-path
|
||||
# Remove the internal directive to allow URIs like this
|
||||
internal;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user