From 50b51c6f7536a9e6397cb090361d07aef6627c0b Mon Sep 17 00:00:00 2001 From: Corey Bryant Date: Thu, 22 Jun 2017 15:34:30 +0000 Subject: [PATCH] Connect admin/public ports to correct sockets The admin port was connecting to the public socket and the public port was connecting to the admin socket to communicate with uwsgi. The config is updated to connect the correct ports and sockets. Thanks to David Ames for figuring this out. Change-Id: I3a909a0982513923c35ab4103b6eee57753b0595 --- snap/templates/keystone-nginx.conf.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/snap/templates/keystone-nginx.conf.j2 b/snap/templates/keystone-nginx.conf.j2 index d8e2f92..a39bada 100644 --- a/snap/templates/keystone-nginx.conf.j2 +++ b/snap/templates/keystone-nginx.conf.j2 @@ -5,7 +5,7 @@ server { location / { include {{ snap }}/usr/conf/uwsgi_params; uwsgi_param SCRIPT_NAME ''; - uwsgi_pass unix://{{ snap_common }}/run/admin.sock; + uwsgi_pass unix://{{ snap_common }}/run/public.sock; } } server { @@ -15,6 +15,6 @@ server { location / { include {{ snap }}/usr/conf/uwsgi_params; uwsgi_param SCRIPT_NAME ''; - uwsgi_pass unix://{{ snap_common }}/run/public.sock; + uwsgi_pass unix://{{ snap_common }}/run/admin.sock; } }