summaryrefslogtreecommitdiff
path: root/nginx/default.conf
blob: 079b303715b3ec44ea49f591245defab3c830d8d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
server {
  listen 8380;
  listen [::]:8380;
  server_name _;

  root /usr/share/nginx/html;
  index index.html;
  absolute_redirect off;
  port_in_redirect off;

  location / {
    # Serve directory index files without triggering a 301 slash redirect.
    try_files $uri $uri/index.html /index.html;
  }
}