blob: 66b8039e9b329a1de8c0bc41807c1f555ab03672 [file] [log] [blame]
server {
listen 8080;
server_name localhost;
location / {
root /usr/share/nginx/html;
index index.html index.htm;
}
# this is needed to fix `foo` to `foo/` redirects
# (otherwise redirect will be to http://domain:8080/foo/)
absolute_redirect off;
}