mirror of
https://github.com/opdavies/build-configs.git
synced 2025-09-06 03:15:34 +01:00
Move Drupal templates into the PHP directory
This commit is contained in:
parent
30942b2d95
commit
f602b6e1e6
17 changed files with 16 additions and 16 deletions
22
templates/php/drupal/nginx/default.conf.twig
Normal file
22
templates/php/drupal/nginx/default.conf.twig
Normal 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;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue