summarylogtreecommitdiffstats
path: root/nginx.conf
blob: a4767db5b4b5c491db9ca4247a0e5506363ed7c9 (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
28
29
30
31
32
33
worker_processes  1;

pid /var/lib/concrnt/webui/nginx.pid;

events {
    worker_connections  1024;
}


http {
  server {
    listen 28282;


    types {
      image/svg+xml	   svg;
      text/css         css;
      text/html        html htm;
      text/javascript  js mjs;
    }
  
    access_log /var/log/concrnt/webui/nginx-access.log;
    error_log /var/log/concrnt/webui/nginx-error.log;

    rewrite ^/web$ /web/ permanent;

    location /web/ {
      alias /usr/share/concrnt/web/;
      index index.html;
      try_files $uri $uri/ /index.html =404;
    }
  }
}