Created
January 21, 2020 08:31
-
-
Save cubimon/fe9205b5023efd526a4569de89a24ecb to your computer and use it in GitHub Desktop.
minimal nginx.conf
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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