Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
16 lines (12 sloc) 330 Bytes
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;
}
}