Skip to content

Commit

Permalink
Merge pull request #2470 from StackStorm/revert-2469-v1.3
Browse files Browse the repository at this point in the history
Revert "Ngnix rule for mistral_api redirect"
  • Loading branch information
lakshmi-kannan committed Feb 5, 2016
2 parents d366c28 + 9c64d66 commit 44a7e8a
Showing 1 changed file with 3 additions and 22 deletions.
25 changes: 3 additions & 22 deletions conf/nginx/st2.conf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#
# nginx configuration to expose st2 webui, redirect HTTP->HTTPS,
#
# nginx configuration to expose st2 webui, redirect HTTP->HTTPS,
# provide SSL termination, and reverse-proxy st2api and st2auth API endpoint.
# To enable:
# To enable:
# cp ${LOCATION}/st2.conf /etc/nginx/sites-available
# ln -l /etc/nginx/sites-available/st2.conf /etc/nginx/sites-enabled/st2.conf
# see https://docs.stackstorm.com/install.html for details
Expand Down Expand Up @@ -62,25 +62,6 @@ server {
proxy_set_header Host $host;
}

location /mistral_api/ {
rewrite ^/mistral_api/(.*) /$1 break;

proxy_pass http://127.0.0.1:8989/;
proxy_read_timeout 90;
proxy_connect_timeout 90;
proxy_redirect off;

proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

proxy_set_header Connection '';
chunked_transfer_encoding off;
proxy_buffering off;
proxy_cache off;
proxy_set_header Host $host;
}

location /auth/ {
rewrite ^/auth/(.*) /$1 break;

Expand Down

0 comments on commit 44a7e8a

Please sign in to comment.