diff options
-rw-r--r-- | nginx.conf | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -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 { |