From 5edbf27ac2e8804a186a1b482c6568b2fa9c0788 Mon Sep 17 00:00:00 2001 From: zramsay Date: Mon, 13 Feb 2023 18:50:52 -0500 Subject: [PATCH] add ping.conf --- app/data/config/laconic-explorer/default.conf | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 app/data/config/laconic-explorer/default.conf diff --git a/app/data/config/laconic-explorer/default.conf b/app/data/config/laconic-explorer/default.conf new file mode 100644 index 00000000..5d2430c0 --- /dev/null +++ b/app/data/config/laconic-explorer/default.conf @@ -0,0 +1,33 @@ +## copied from: https://github.com/gateway-fm/laconic-explorer/blob/master/ping.conf +server { + listen 80; + listen [::]:80; + server_name _; + + #access_log /var/log/nginx/host.access.log main; + + location / { + root /usr/share/nginx/html; + 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; + } + + 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]\."; +}