summarylogtreecommitdiffstats
path: root/nginx.conf
blob: 0c5bc345f841f440158f796e71a0dd7289cb272b (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
34
35
36
37
38
worker_processes  1;

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

events {
    worker_connections  1024;
}


http {
  client_body_temp_path /var/lib/concrnt/webui/nginx-client-body;
  fastcgi_temp_path /var/lib/concrnt/webui/nginx-fastcgi;
  uwsgi_temp_path /var/lib/concrnt/webui/nginx-uwsgi;
  scgi_temp_path /var/lib/concrnt/webui/nginx-scgi;
  proxy_temp_path /var/lib/concrnt/webui/nginx-proxy;

  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;
    }
  }
}