3 server_name localhost;
\r
6 #access_log /var/log/nginx/log/host.access.log main;
\r
9 root /usr/share/nginx/html;
\r
10 index index.html index.htm;
\r
14 #error_page 404 /404.html;
\r
16 # redirect server error pages to the static page /50x.html
\r
18 error_page 500 502 503 504 /50x.html;
\r
19 location = /50x.html {
\r
23 # proxy the PHP scripts to Apache listening on 127.0.0.1:80
\r
25 #location ~ \.php$ {
\r
26 # proxy_pass http://127.0.0.1;
\r
28 location ^~/parser/ {
\r
29 rewrite ^/parser/(.*)$ /$1 break;
\r
30 proxy_set_header Host $host;
\r
31 proxy_set_header x-forwarded-for $remote_addr;
\r
32 proxy_set_header X-Real-IP $remote_addr;
\r
33 proxy_pass http://t-scheduler-server:5310;
\r
35 location ^~/wf-graph/ {
\r
36 rewrite ^/wf-graph/(.*)$ /$1 break;
\r
37 proxy_set_header Host $host;
\r
38 proxy_set_header x-forwarded-for $remote_addr;
\r
39 proxy_set_header X-Real-IP $remote_addr;
\r
40 proxy_pass http://conductor_conductor-ui_1:5000;
\r
43 proxy_set_header Host $host;
\r
44 proxy_set_header x-forwarded-for $remote_addr;
\r
45 proxy_set_header X-Real-IP $remote_addr;
\r
46 proxy_pass http://conductor_conductor-ui_1:5000;
\r
48 location ^~/wf-server/ {
\r
49 rewrite ^/wf-server/(.*)$ /$1 break;
\r
50 proxy_set_header Host $host;
\r
51 proxy_set_header x-forwarded-for $remote_addr;
\r
52 proxy_set_header X-Real-IP $remote_addr;
\r
53 proxy_pass http://conductor_conductor-server_1:8080;
\r
55 # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
\r
57 #location ~ \.php$ {
\r
59 # fastcgi_pass 127.0.0.1:9000;
\r
60 # fastcgi_index index.php;
\r
61 # fastcgi_param SCRIPT_FILENAME /scripts$fastcgi_script_name;
\r
62 # include fastcgi_params;
\r
65 # deny access to .htaccess files, if Apache's document root
\r
66 # concurs with nginx's one
\r