В nginx теперь можно подсунуть кастомную ссылку на php

This commit is contained in:
ErickSkrauch
2016-09-01 20:04:52 +03:00
parent ee19df2623
commit 2ef6ac3c08
3 changed files with 3 additions and 4 deletions

View File

@@ -31,7 +31,7 @@ server {
}
location ~* \.php$ {
fastcgi_pass app:9000;
fastcgi_pass ${PHP_LINK}:9000;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param SERVER_NAME $host;