bunkerweb/confs/site/php.conf

9 lines
188 B
Plaintext

location ~ \.php$ {
{% if REMOTE_PHP != "" +%}
fastcgi_pass {{ REMOTE_PHP }}:9000;
{% elif LOCAL_PHP != "" +%}
fastcgi_pass unix:{{ LOCAL_PHP }};
{% endif %}
fastcgi_index index.php;
}