Last active
October 11, 2018 03:57
-
-
Save drakantas/f46d3fd0e2ab6be4a57fded7739bec6e to your computer and use it in GitHub Desktop.
Genesis instance server config
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
server { | |
listen 80; | |
server_name localhost; | |
root D:\Genesis-client\public; | |
location / { | |
index index.html; | |
try_files index.html /index.html =500; | |
} | |
location /dist { | |
try_files $uri $uri/ index.html =500; | |
} | |
#error_page 404 /404.html; | |
location = /50x.html { | |
root html; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment