mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-11-10 03:30:08 +01:00
admin: replace header 'Ajouter un TFE' nav link with toolbar button
This commit is contained in:
1 parent
c4705f6265
commit
150099dc3c
12 files changed
+1166
-76
No files matched your search
@@ -0,0 +1,28 @@
|
||||
# Route all partage requests to index.php
|
||||
<IfModule mod_rewrite.c>
|
||||
RewriteEngine On
|
||||
RewriteCond %{REQUEST_FILENAME} !-f
|
||||
RewriteCond %{REQUEST_FILENAME} !-d
|
||||
RewriteRule ^(.*)$ index.php [L]
|
||||
</IfModule>
|
||||
|
||||
# Security headers
|
||||
<IfModule mod_headers.c>
|
||||
Header always set X-Frame-Options "SAMEORIGIN"
|
||||
|
||||
Header always set X-Content-Type-Options "nosniff"
|
||||
|
||||
Header always set X-XSS-Protection "1; mode=block"
|
||||
|
||||
Header always set Referrer-Policy "strict-origin-when-cross-origin"
|
||||
|
||||
Header always set Content-Security-Policy "default-src 'self'; style-src 'self' 'unsafe-inline'; img-src 'self' data:;"
|
||||
</IfModule>
|
||||
|
||||
# Prevent directory listing
|
||||
Options -Indexes
|
||||
|
||||
# Protect dotfiles
|
||||
<FilesMatch "^\.">
|
||||
Require all denied
|
||||
</FilesMatch>
|
||||
Reference in new issue
Block a user