summaryrefslogtreecommitdiff
path: root/nginx-test/pwman.dev.conf
diff options
context:
space:
mode:
Diffstat (limited to 'nginx-test/pwman.dev.conf')
-rw-r--r--nginx-test/pwman.dev.conf25
1 files changed, 25 insertions, 0 deletions
diff --git a/nginx-test/pwman.dev.conf b/nginx-test/pwman.dev.conf
index 12af816..2804b61 100644
--- a/nginx-test/pwman.dev.conf
+++ b/nginx-test/pwman.dev.conf
@@ -27,3 +27,28 @@ server {
proxy_set_header AFFILIATION 'employee@nordu.net';
}
}
+
+server {
+ listen 80;
+ server_name uwsgi.pwman.dev;
+
+
+ location /sso/ {
+ include uwsgi_params;
+ uwsgi_pass pwman:8000;
+ }
+
+ location /sso/accounts/login-federated/ {
+ include uwsgi_params;
+ uwsgi_pass pwman:8000;
+ uwsgi_param HTTP_X_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 /sso/static/ {
+ alias /opt/pwman/;
+ }
+}