File tree Expand file tree Collapse file tree 1 file changed +3
-22
lines changed Expand file tree Collapse file tree 1 file changed +3
-22
lines changed Original file line number Diff line number Diff line change 1
- #
2
- # nginx configuration to expose st2 webui, redirect HTTP->HTTPS,
1
+ #
2
+ # nginx configuration to expose st2 webui, redirect HTTP->HTTPS,
3
3
# provide SSL termination, and reverse-proxy st2api and st2auth API endpoint.
4
- # To enable:
4
+ # To enable:
5
5
# cp ${LOCATION}/st2.conf /etc/nginx/sites-available
6
6
# ln -l /etc/nginx/sites-available/st2.conf /etc/nginx/sites-enabled/st2.conf
7
7
# see https://docs.stackstorm.com/install.html for details
@@ -62,25 +62,6 @@ server {
62
62
proxy_set_header Host $host;
63
63
}
64
64
65
- location /mistral_api/ {
66
- rewrite ^/mistral_api/(.*) /$1 break;
67
-
68
- proxy_pass http://127.0.0.1:8989/;
69
- proxy_read_timeout 90;
70
- proxy_connect_timeout 90;
71
- proxy_redirect off;
72
-
73
- proxy_set_header Host $host;
74
- proxy_set_header X-Real-IP $remote_addr;
75
- proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
76
-
77
- proxy_set_header Connection '';
78
- chunked_transfer_encoding off;
79
- proxy_buffering off;
80
- proxy_cache off;
81
- proxy_set_header Host $host;
82
- }
83
-
84
65
location /auth/ {
85
66
rewrite ^/auth/(.*) /$1 break;
86
67
You can’t perform that action at this time.
0 commit comments