diff --git a/conf/nginx/st2.conf b/conf/nginx/st2.conf index 0fcebd3a5f..566ed2330a 100644 --- a/conf/nginx/st2.conf +++ b/conf/nginx/st2.conf @@ -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 @@ -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;