Allow saml metadata to be available on port 80

pull/48/head
Timothy Legge 2022-04-11 17:55:21 -03:00
parent 33231e1154
commit 126551b1a9
No known key found for this signature in database
GPG Key ID: A82ECBFCEB02D695
1 changed files with 7 additions and 1 deletions

View File

@ -3,7 +3,13 @@ server {
listen 80 default_server;
server_name _;
return 301 https://$host$request_uri;
location /saml/metadata.xml {
set $foswiki_root /var/www/foswiki; # <=== Path to expanded foswiki distribution
root $foswiki_root;
}
location / {
return 301 https://$host$request_uri;
}
}