Ajouter 'cachethq/rootfs/nginx/sites-enabled/cachet.conf'
This commit is contained in:
parent
fbdee00c1e
commit
17adc3a2b0
|
@ -0,0 +1,20 @@
|
|||
server {
|
||||
listen 8080;
|
||||
|
||||
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;
|
||||
}
|
||||
}
|
Reference in New Issue