Ver Fonte

add nginx config

subDesTagesMitExtraKaese há 2 anos atrás
pai
commit
3e3a41aebb
2 ficheiros alterados com 9 adições e 0 exclusões
  1. 2 0
      .gitignore
  2. 7 0
      nginx.conf

+ 2 - 0
.gitignore

@@ -59,3 +59,5 @@ docs/_build/
 target/
 
 *.sqlite3
+/static/
+/data/

+ 7 - 0
nginx.conf

@@ -0,0 +1,7 @@
+server {
+  listen 8000;
+  server_name  localhost;
+  location ^/static {
+    try_files $uri $uri/ =404;
+  }
+}