mirror of
https://github.com/runcitadel/apps.git
synced 2024-11-11 16:30:37 +00:00
Fix Snowflake
This commit is contained in:
parent
34f4a15a89
commit
7d8a1b8b58
|
@ -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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user