déplacement .Keys et config
This commit is contained in:
+26
-7
@@ -1,10 +1,29 @@
|
||||
server {
|
||||
listen 80;
|
||||
server_name jucundus.saucisse.ninja;
|
||||
listen 80;
|
||||
|
||||
location / {
|
||||
root /usr/share/nginx/html;
|
||||
index index.html;
|
||||
try_files $uri $uri/ /index.html;
|
||||
}
|
||||
gzip on;
|
||||
gzip_http_version 1.1;
|
||||
gzip_disable "MSIE [1-6]\.";
|
||||
gzip_min_length 256;
|
||||
gzip_vary on;
|
||||
gzip_proxied expired no-cache no-store private auth;
|
||||
gzip_types text/plain text/css application/json application/javascript application/x-javascript text/xml application/xml application/xml+rss text/javascript;
|
||||
gzip_comp_level 9;
|
||||
client_max_body_size 5M;
|
||||
proxy_read_timeout 200s;
|
||||
index index.html;
|
||||
|
||||
location / {
|
||||
include /etc/nginx/mime.types;
|
||||
root /usr/share/nginx/html;
|
||||
add_header Cache-Control "public, max-age=1M";
|
||||
try_files $uri $uri/ /index.html =404;
|
||||
}
|
||||
|
||||
location /healthcheck {
|
||||
access_log off;
|
||||
add_header 'Content-Type' 'text/plain';
|
||||
return 200 "Healthy\n";
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user