You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "Kevin Minder (JIRA)" <ji...@apache.org> on 2014/10/31 17:37:33 UTC
[jira] [Updated] (KNOX-464) Location headers have work hostname
when used behind load balancer
[ https://issues.apache.org/jira/browse/KNOX-464?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kevin Minder updated KNOX-464:
------------------------------
Description:
I used nginx to reproduce the failure. This is the configured I used.
{code}
worker_processes 1;
events {
worker_connections 1024;
}
http {
include mime.types;
default_type application/octet-stream;
sendfile on;
keepalive_timeout 65;
upstream backend {
server c6402.ambari.apache.org:8443;
}
server {
listen 8080;
server_name localhost;
location / {
proxy_pass https://backend;
proxy_redirect https://c6402.ambari.apache.org:8443/ http://$host:$server_port/;
}
}
}
{code}
> Location headers have work hostname when used behind load balancer
> ------------------------------------------------------------------
>
> Key: KNOX-464
> URL: https://issues.apache.org/jira/browse/KNOX-464
> Project: Apache Knox
> Issue Type: Bug
> Components: Server
> Affects Versions: 0.5.0
> Reporter: Kevin Minder
> Assignee: Kevin Minder
> Priority: Critical
> Fix For: 0.6.0
>
>
> I used nginx to reproduce the failure. This is the configured I used.
> {code}
> worker_processes 1;
> events {
> worker_connections 1024;
> }
> http {
> include mime.types;
> default_type application/octet-stream;
> sendfile on;
> keepalive_timeout 65;
> upstream backend {
> server c6402.ambari.apache.org:8443;
> }
> server {
> listen 8080;
> server_name localhost;
> location / {
> proxy_pass https://backend;
> proxy_redirect https://c6402.ambari.apache.org:8443/ http://$host:$server_port/;
> }
> }
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)