remote PHP-FPM support

This commit is contained in:
bunkerity
2020-09-18 22:50:56 +02:00
parent bcd17dbea2
commit 3e5ca583c9
3 changed files with 20 additions and 12 deletions

View File

@@ -1,5 +1,5 @@
location ~ \.php$ {
fastcgi_pass 127.0.0.1:9000;
fastcgi_pass %REMOTE_PHP%:9000;
fastcgi_index index.php;
include fastcgi.conf;
}