21 lines
494 B
Plaintext
21 lines
494 B
Plaintext
### This is what the script should insert if PHP is selected
|
|
|
|
## TCP option -- address and port should be variables, default here
|
|
## blank line after closing brace is intentional
|
|
# PHP handler (tcp)
|
|
upstream php-handler {
|
|
server 127.0.0.1:9000;
|
|
}
|
|
|
|
|
|
## Socket option -- php version should be variable, default here
|
|
## blank line after closing brace is intentional
|
|
|
|
# PHP handler (socket)
|
|
upstream php-handler {
|
|
server unix:/run/php/php7.2-fpm.sock;
|
|
}
|
|
|
|
|
|
for sed:
|
|
append after root.*;$ |