[Nginx] Use names instead of IPs

This commit is contained in:
andre.peters
2018-01-21 14:59:45 +01:00
parent 08c8976a95
commit 83fb8c0fd8
2 changed files with 22 additions and 15 deletions

View File

@@ -10,7 +10,7 @@ server {
location ~ \.php$ {
try_files $uri =404;
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_pass phpfpm:9000;
fastcgi_pass phpfpm:9001;
fastcgi_index index.php;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;