Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

nginx

  • Loading branch information...
commit 4ab6861186fdd5cdc2ef146ca0386f236fc887cd 1 parent d83016d
eduardo naufel schettino authored
Showing with 15 additions and 0 deletions.
  1. +15 −0 makeup-nginx.conf
15 makeup-nginx.conf
View
@@ -0,0 +1,15 @@
+server {
+ #listen 80; ## listen for ipv4; this line is default and implied
+
+ root /path/to/my/site;
+ index index.html index.htm;
+
+ # Make site accessible from http://localhost/
+ server_name localhost;
+
+ location / {
+ # First attempt to serve request as file, then
+ # fall back to index.html
+ try_files $uri /index.html;
+ }
+}
Please sign in to comment.
Something went wrong with that request. Please try again.