summaryrefslogtreecommitdiff
path: root/nginx.conf
blob: 1297f03a8ffcbbee902342181dbf46b5452e0caf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
user             nginx;
daemon           off;
worker_processes 1;
pid              /var/run/nginx.pid;
events {
  worker_connections 1024;
}
http {
  types {
    text/html        htm;
    image/gif        gif;
    application/wasm wasm;
  }
  default_type       application/octet-stream;
  error_log          /var/log/nginx/error.log;
  access_log         /var/log/nginx/access.log;
  sendfile           on;
  keepalive_timeout  65;
  server {
    listen      80;
    listen [::]:80;
    location / {
      root      /srv;
      try_files $uri $uri/index.htm =404;
    }
  }
}