Upgrade Dockerfile

This commit is contained in:
Kévin Dunglas
2019-06-27 12:03:08 +02:00
parent f14a977747
commit 1f61df9cf0
8 changed files with 143 additions and 95 deletions

View File

@@ -7,10 +7,10 @@ server {
}
location ~ ^/index\.php(/|$) {
#resolver 127.0.0.11;
#set $upstream_host app;
#set $upstream_host php;
#fastcgi_pass $upstream_host:9000;
# Uncomment the previous lines and comment the next one to enable dynamic resolution (incompatible with Kubernetes)
fastcgi_pass app:9000;
fastcgi_pass php:9000;
fastcgi_split_path_info ^(.+\.php)(/.*)$;
include fastcgi_params;
# When you are using symlinks to link the document root to the