refactor(drupal): reorganise templates

This commit is contained in:
Oliver Davies 2023-09-25 00:25:11 +01:00
parent 578340ca8f
commit 783d76fcf5
4 changed files with 24 additions and 60 deletions

View file

@ -0,0 +1,22 @@
# {{ managedText | raw }}
server {
server_name _;
root {{ project_root }}/{{ drupal.docroot }};
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;
}
}