diff options
| author | lonkaars <loek@pipeframe.xyz> | 2021-04-25 10:23:59 +0200 | 
|---|---|---|
| committer | lonkaars <loek@pipeframe.xyz> | 2021-04-25 10:23:59 +0200 | 
| commit | 0aab08c502eb3a4a837a3832a40cfb75784ee25f (patch) | |
| tree | 9881a6b28de5ff87302c0cef7236c165f09f3aee | |
| parent | 894d118a8882f8b24d53b104a44432e5eb2e2790 (diff) | |
nginx static config
| -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 { |