Remove useless acl
This commit is contained in:
parent
a5911a3762
commit
e0e08e9c19
|
@ -40,7 +40,6 @@ frontend https
|
|||
acl dav url_beg /.well-known/carddav /.well-known/caldav
|
||||
acl root url /
|
||||
acl discord-redirect url /discord
|
||||
acl nextcloud-dav url_beg /remote.php
|
||||
|
||||
acl public_cache res.hdr(content-type) -i -m str text/css -i -m str application/javascript -i -m beg font/
|
||||
acl private_cache res.hdr(content-type) -i -m beg image/ -i -m beg audio/ -i -m beg video/ -i -m beg text/ -i -m beg application/
|
||||
|
@ -66,7 +65,6 @@ frontend https
|
|||
|
||||
http-response set-header Cache-Control public\ max-age=31536000 if public_cache ! private_cache or homepage-res
|
||||
http-response set-header Cache-Control private\ max-age=86400\ must-revalidate if private_cache
|
||||
http-response set-header Cache-Control no-cache if nextcloud-dav nextcloud
|
||||
|
||||
http-response set-header X-XSS-Protection 1;\ mode=block
|
||||
http-response set-header X-Content-Type-Options nosniff
|
||||
|
|
Reference in New Issue