Skip to content

Instantly share code, notes, and snippets.



Forked from mockra/nginx
Created Aug 16, 2017
What would you like to do?
nginx config for static site
server {
listen 80;
root /var/www/;
index index.html index.htm;
location / {
default_type "text/html";
try_files $uri.html $uri $uri/ /index.html;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.