Create cache directory for storing images for SP Portal
[cascardo/ipsilon.git] / templates / install / idp.conf
index 19af096..ff69db6 100644 (file)
@@ -1,6 +1,8 @@
 Alias /${instance}/ui ${staticdir}/ui
+Alias /.well-known ${wellknowndir}
+Alias /${instance}/cache /var/cache/ipsilon
 WSGIScriptAlias /${instance} ${ipsilondir}/ipsilon
-WSGIDaemonProcess ${instance} user=${sysuser} group=${sysuser} home=${datadir}
+WSGIDaemonProcess ${instance} user=${sysuser} group=${sysuser} home=${datadir} display-name=ipsilon-${instance}
 ${wsgi_socket}
 
 <Location /${instance}>
@@ -15,3 +17,17 @@ ${sslrequiressl}
 <Directory ${staticdir}>
     Require all granted
 </Directory>
+
+<Directory ${wellknowndir}>
+    Require all granted
+</Directory>
+<Location /.well-known/browserid>
+    ForceType application/json
+</Location>
+
+<Directory "/var/cache/ipsilon">
+  SetHandler None
+  AllowOverride None
+  Satisfy Any
+  Allow from all
+</Directory>