cosmos-explorer/ping.conf

32 lines
899 B
Plaintext
Raw Normal View History

2021-08-27 04:40:17 +00:00
server {
2021-08-27 05:36:49 +00:00
listen 80;
listen [::]:80;
server_name _;
#access_log /var/log/nginx/host.access.log main;
location / {
2021-08-27 05:57:38 +00:00
root /usr/share/nginx/html;
2021-08-27 05:36:49 +00:00
index index.html index.htm;
try_files $uri $uri/ /index.html;
}
#error_page 404 /404.html;
# redirect server error pages to the static page /50x.html
#
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/share/nginx/html;
}
2022-03-15 08:18:57 +00:00
gzip on;
gzip_proxied any;
gzip_static on;
gzip_min_length 1024;
gzip_buffers 4 16k;
gzip_comp_level 2;
gzip_types text/plain application/javascript application/x-javascript text/css application/xml text/javascript application/x-httpd-php application/vnd.ms-fontobject font/ttf font/opentype font/x-woff image/svg+xml;
gzip_vary off;
gzip_disable "MSIE [1-6]\.";
2021-08-27 05:36:49 +00:00
}