Skip to content

Instantly share code, notes, and snippets.

@drakantas
Last active October 11, 2018 03:57
Show Gist options
  • Save drakantas/f46d3fd0e2ab6be4a57fded7739bec6e to your computer and use it in GitHub Desktop.
Save drakantas/f46d3fd0e2ab6be4a57fded7739bec6e to your computer and use it in GitHub Desktop.
Genesis instance server config
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