Change naming and veriy test-scheduler function
[bottlenecks.git] / test-scheduler / ui / config / default.conf
1 server {
2     listen       5311;
3     server_name  localhost;
4
5     #charset koi8-r;
6     #access_log  /var/log/nginx/log/host.access.log  main;
7
8     location / {
9         root   /usr/share/nginx/html;
10         index  index.html index.htm;
11     }
12
13
14     #error_page  404              /404.html;
15
16     # redirect server error pages to the static page /50x.html
17     #
18     error_page   500 502 503 504  /50x.html;
19     location = /50x.html {
20         root   html;
21     }
22
23     # proxy the PHP scripts to Apache listening on 127.0.0.1:80
24     #
25     #location ~ \.php$ {
26     #    proxy_pass   http://127.0.0.1;
27     #}
28     location ^~/parser/ {
29          rewrite ^/parser/(.*)$ /$1 break;
30          proxy_set_header Host $host;
31          proxy_set_header x-forwarded-for $remote_addr;
32          proxy_set_header X-Real-IP       $remote_addr;
33          proxy_pass http://t-scheduler-server:5310;
34     }
35     location ^~/wf-graph/ {
36          rewrite ^/wf-graph/(.*)$ /$1 break;
37          proxy_set_header Host $host;
38          proxy_set_header x-forwarded-for $remote_addr;
39          proxy_set_header X-Real-IP       $remote_addr;
40          proxy_pass http://conductor_conductor-ui_1:5000;
41     }
42     location ^~/api/ {
43          proxy_set_header Host $host;
44          proxy_set_header x-forwarded-for $remote_addr;
45          proxy_set_header X-Real-IP       $remote_addr;
46          proxy_pass http://conductor_conductor-ui_1:5000;
47     }
48     location ^~/wf-server/ {
49          rewrite ^/wf-server/(.*)$ /$1 break;
50          proxy_set_header Host $host;
51          proxy_set_header x-forwarded-for $remote_addr;
52          proxy_set_header X-Real-IP       $remote_addr;
53          proxy_pass http://conductor_conductor-server_1:8080;
54     }
55     # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
56     #
57     #location ~ \.php$ {
58     #    root           html;
59     #    fastcgi_pass   127.0.0.1:9000;
60     #    fastcgi_index  index.php;
61     #    fastcgi_param  SCRIPT_FILENAME  /scripts$fastcgi_script_name;
62     #    include        fastcgi_params;
63     #}
64
65     # deny access to .htaccess files, if Apache's document root
66     # concurs with nginx's one
67     #
68     #location ~ /\.ht {
69     #    deny  all;
70     #}
71 }