From 0aab08c502eb3a4a837a3832a40cfb75784ee25f Mon Sep 17 00:00:00 2001 From: lonkaars Date: Sun, 25 Apr 2021 10:23:59 +0200 Subject: nginx static config --- nginx.conf | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/nginx.conf b/nginx.conf index f94cba2..f8ef9b4 100644 --- a/nginx.conf +++ b/nginx.conf @@ -4,12 +4,24 @@ daemon off; events {} http { + include /etc/nginx/mime.types; + server { listen 2080 default; server_name localhost; + # root /var/www/...; + # index index.html; + + # error_page 404 = /404.html; + + # location = /privacy { + # try_files /blog/privacy.html =404; + # } + location / { proxy_pass http://127.0.0.1:3000; + # try_files /$uri /$uri.html /$uri/index.html =404; } location /api { -- cgit v1.2.3