mirror of
https://github.com/FAUSheppy/no-secrets-athq-ansible
synced 2026-06-20 08:32:38 +02:00
initial: no secrets
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
#log_format scripts '$fastcgi_path_info $document_root$fastcgi_script_name > $request';
|
||||
|
||||
server {
|
||||
#access_log /var/log/nginx/scripts.log scripts;
|
||||
|
||||
include fastcgi.conf;
|
||||
include fastcgi_params;
|
||||
listen 8080;
|
||||
index index.php index.html;
|
||||
root /var/www/atlantishq-cms/public/;
|
||||
|
||||
location ~ \.php$ {
|
||||
try_files $uri $uri/$uri/ /index.php$is_args$args =404;
|
||||
fastcgi_split_path_info ^(.+\.php)(/.+)$;
|
||||
fastcgi_pass localhost:9000;
|
||||
fastcgi_index index.php;
|
||||
include fastcgi_params;
|
||||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||
add_header X-ATHQ-HANDLER cms always;
|
||||
}
|
||||
|
||||
location /typo3/ {
|
||||
absolute_redirect off;
|
||||
try_files $uri /typo3/index.php$is_args$args;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user