Fix nginx SCRIPT_NAME uwsgi_param
The SCRIPT_NAME uwsgi_param is passed to the client resulting in errors such as: UnknownConnectionError: Unexpected exception for http://10.1.1.101:5000keystone-wsgi-public/v3/auth/tokens: Failed to parse: 10.1.1.101:5000keystone-wsgi-public We should default this to a blank string to ensure this works appropriately. Change-Id: I3da36f8e2281eefdbad903d438ffd93ddd2f5071
This commit is contained in:
parent
ec65f10b7e
commit
42cef50e5f
@ -29,6 +29,6 @@ server {
|
||||
location @yourapplication {
|
||||
include uwsgi_params;
|
||||
uwsgi_pass 127.0.0.1:{{ keystone_uwsgi_ports[item]['socket'] }};
|
||||
uwsgi_param SCRIPT_NAME {{ item }};
|
||||
uwsgi_param SCRIPT_NAME '';
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user