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