Fix Snowflake

This commit is contained in:
Aaron Dewes 2022-02-27 15:02:46 +01:00
parent 34f4a15a89
commit 7d8a1b8b58

View File

@ -1,6 +1,5 @@
user nginx; user nginx;
worker_processes auto; worker_processes auto;
daemon off;
error_log /var/log/nginx/error.log crit; error_log /var/log/nginx/error.log crit;
pid /var/run/nginx.pid; pid /var/run/nginx.pid;
@ -10,7 +9,6 @@ events {
worker_connections 1024; worker_connections 1024;
} }
http { http {
include /etc/nginx/mime.types; include /etc/nginx/mime.types;
default_type application/octet-stream; default_type application/octet-stream;
@ -35,14 +33,15 @@ http {
gzip_vary on; gzip_vary on;
server { server {
listen 80; listen 80;
server_name _; server_name _;
root /var/www/snowflake; root /var/www/snowflake;
index index.html; index index.html;
# serve static files # serve static files
location / { location / {
try_files $uri $uri/ =404; try_files $uri $uri/ =404;
}
} }
} }