Skip to content

Instantly share code, notes, and snippets.

@cubimon
Created January 21, 2020 08:31
Show Gist options
  • Save cubimon/fe9205b5023efd526a4569de89a24ecb to your computer and use it in GitHub Desktop.
Save cubimon/fe9205b5023efd526a4569de89a24ecb to your computer and use it in GitHub Desktop.
minimal nginx.conf
events {
worker_connections 4096;
}
http {
# access_log access.log; # optional access log
# error_log error.log; # optional error log
server {
listen 8080;
root dist;
location / {
try_files $uri /index.html;
# proxy_pass http://localhost:8000; # alternatively proxy another webserver
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment