Mettre à jour 'cachethq/rootfs/nginx/sites-enabled/cachet.conf'

This commit is contained in:
Dryusdan 2017-11-02 14:08:36 +00:00
parent 3bee1f9872
commit c5e19dddb9
1 changed files with 5 additions and 8 deletions

View File

@ -1,20 +1,17 @@
server {
listen 8080;
root /cachethq;
root /cachetHQ;
index index.php;
location / {
add_header Strict-Transport-Security max-age=15768000;
try_files $uri /index.php$is_args$args;
}
location ~ \.php$ {
include fastcgi_params;
fastcgi_pass unix:/var/run/php5-fpm.sock;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_index index.php;
fastcgi_keep_conn on;
add_header Strict-Transport-Security max-age=15768000;
fastcgi_index index.php;
fastcgi_pass unix:/php/run/php-fpm.sock;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include /nginx/conf/fastcgi_params;
}
}