aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2021-04-25 10:23:59 +0200
committerlonkaars <loek@pipeframe.xyz>2021-04-25 10:23:59 +0200
commit0aab08c502eb3a4a837a3832a40cfb75784ee25f (patch)
tree9881a6b28de5ff87302c0cef7236c165f09f3aee
parent894d118a8882f8b24d53b104a44432e5eb2e2790 (diff)
nginx static config
-rw-r--r--nginx.conf12
1 files changed, 12 insertions, 0 deletions
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 {