diff options
author | Markus Krogh <markus@nordu.net> | 2018-06-08 08:01:06 +0200 |
---|---|---|
committer | Markus Krogh <markus@nordu.net> | 2018-06-08 08:01:06 +0200 |
commit | fc2455cdbf8c64c98a8f7104ae7e7acdcff1337c (patch) | |
tree | a80e94c6bbe7fbd768379dd940a269ae0920e744 /nginx-test/pwman.dev.conf | |
parent | 16fe3880782e38a1adaa157f26b788049bcc3205 (diff) |
Go impl of pwman, first draft
Diffstat (limited to 'nginx-test/pwman.dev.conf')
-rw-r--r-- | nginx-test/pwman.dev.conf | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/nginx-test/pwman.dev.conf b/nginx-test/pwman.dev.conf index 944c1b4..927fcd7 100644 --- a/nginx-test/pwman.dev.conf +++ b/nginx-test/pwman.dev.conf @@ -33,21 +33,24 @@ server { server_name uwsgi.pwman.test; - location /sso/ { + location / { include uwsgi_params; uwsgi_pass pwman:8000; } - location /sso/accounts/login-federated/ { + location /accounts/login-federated/ { include uwsgi_params; uwsgi_pass pwman:8000; - uwsgi_param HTTP_X_REMOTE_USER 'markus@nordu.net'; + uwsgi_param REMOTE_USER 'markus@nordu.net'; uwsgi_param HTTP_GIVENNAME 'Markus'; uwsgi_param HTTP_SN 'Krogh'; uwsgi_param HTTP_MAIL 'markus@nordu.net'; uwsgi_param HTTP_AFFILIATION 'employee@nordu.net'; } + location /static/ { + alias /opt/pwman/; + } location /sso/static/ { alias /opt/pwman/; } |