Just type "docker-compose up" to install a Flex project (major refactoring)

This commit is contained in:
Kévin Dunglas
2017-07-06 00:28:13 +02:00
parent 3b0893ce1c
commit 6d5bf66804
15 changed files with 34 additions and 159 deletions

View File

@@ -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;
}