9
0
Fork 1

Fixes with auth..

This commit is contained in:
Johan Björklund 2024-11-20 14:08:29 +01:00
parent 6cf7a3d590
commit fd68ed866d
Signed by: bjorklund
GPG key ID: 5E8401339C7F5037

View file

@ -69,6 +69,20 @@
Alias /intelmq-manager /opt/intelmq/www/intelmq-manager
<Directory /opt/intelmq/www/intelmq-manager>
<IfModule mod_shib.c>
<Location />
AuthType shibboleth
ShibRequestSetting requireSession On
ShibUseHeaders On
AuthGroupFile /etc/apache2/groups.txt
Require group <%= @apache_group %>
</Location>
</IfModule>
<IfModule !mod_shib.c>
Require all granted
</IfModule>
<IfModule mod_headers.c>
Header set Content-Security-Policy "script-src 'self'"
Header set X-Content-Security-Policy "script-src 'self'"