From: Aline Manera <alinefm(a)linux.vnet.ibm.com>
@consoleauth was used to know the console URL to redirect user after
login.
As Kimchi is using the "next" URL paramter to do that, this rule can be
removed.
Signed-off-by: Aline Manera <alinefm(a)linux.vnet.ibm.com>
---
src/nginx.conf.in | 11 -----------
1 file changed, 11 deletions(-)
diff --git a/src/nginx.conf.in b/src/nginx.conf.in
index 38e643d..3a8dfc5 100644
--- a/src/nginx.conf.in
+++ b/src/nginx.conf.in
@@ -56,17 +56,6 @@ http {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_redirect
http://127.0.0.1:$kimchid_port/
https://$host:$proxy_ssl_port/;
}
-
- location ~/(vnc_auto|spice\.html) {
- proxy_pass
http://127.0.0.1:$kimchid_port;
- proxy_intercept_errors on;
- error_page 401 @consoleauth;
- }
-
- location @consoleauth {
- add_header Set-Cookie "console_uri=$request_uri";
- return https://$host:$proxy_ssl_port/;
- }
}
server {
--
1.9.3