mirror of
https://github.com/php/php-sdk-binary-tools.git
synced 2026-03-24 07:32:15 +01:00
20 lines
578 B
Plaintext
20 lines
578 B
Plaintext
server {
|
|
listen PHP_SDK_PGO_DRUPAL_HTTP_PORT;
|
|
server_name PHP_SDK_PGO_DRUPAL_HTTP_HOST;
|
|
|
|
root PHP_SDK_PGO_DRUPAL_DOCROOT;
|
|
index index.html index.htm index.php;
|
|
|
|
location / {
|
|
try_files $uri /index.php?$query_string;
|
|
}
|
|
|
|
location ~ \.php$ {
|
|
fastcgi_pass PHP_SDK_PGO_PHP_FCGI_HOST:PHP_SDK_PGO_PHP_FCGI_PORT;
|
|
fastcgi_index index.php;
|
|
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
|
include fastcgi_params;
|
|
}
|
|
}
|
|
|