2023-03-08 21:13:28 +00:00
|
|
|
# {{ managedText | raw }}
|
|
|
|
|
2023-02-14 20:14:43 +00:00
|
|
|
server {
|
|
|
|
server_name _;
|
|
|
|
|
2023-03-10 22:19:10 +00:00
|
|
|
root {{ project_root }}/{{ drupal.docroot }};
|
2023-02-14 20:14:43 +00:00
|
|
|
|
|
|
|
location / {
|
|
|
|
try_files $uri /index.php?$query_string;
|
|
|
|
}
|
|
|
|
|
|
|
|
location ~ \.php(/|$) {
|
|
|
|
fastcgi_split_path_info ^(.+?\.php)(|/.*)$;
|
|
|
|
try_files $fastcgi_script_name =404;
|
|
|
|
include fastcgi_params;
|
|
|
|
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
|
|
|
fastcgi_param PATH_INFO $fastcgi_path_info;
|
|
|
|
fastcgi_param QUERY_STRING $query_string;
|
|
|
|
fastcgi_intercept_errors on;
|
|
|
|
fastcgi_pass php:9000;
|
|
|
|
}
|
|
|
|
}
|