userdir: fix 403

This commit is contained in:
quitte 2023-09-17 14:28:13 +02:00
parent b26bb94495
commit e26b2c1ebe

View file

@ -29,10 +29,17 @@ in
virtualHosts.${domain} = {
enableUserDir = true;
extraConfig = ''
UserDir /home/users/*/public_html
<Directory "/home/users/*/public_html">
Options -Indexes
Options -Indexes +MultiViews +SymLinksIfOwnerMatch +IncludesNoExec
DirectoryIndex index.php index.html
AllowOverride FileInfo AuthConfig Limit Indexes Options=Indexes
<Limit GET POST OPTIONS>
Require all granted
</Limit>
<LimitExcept GET POST OPTIONS>
Require all denied
</LimitExcept>
</Directory>
'';
listen = [{