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.conf9
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/;
}