mirror of
https://github.com/Ahwxorg/librey/
synced 2024-12-06 19:16:48 +01:00
some security headers
This commit is contained in:
@@ -2,6 +2,10 @@ server {
|
||||
listen 8080;
|
||||
server_name ${OPEN_SEARCH_HOST_FOR_NGINX} localhost;
|
||||
|
||||
add_header Content-Security-Policy "default-src 'none'; style-src 'self'; img-src 'self'";
|
||||
add_header X-Frame-Options "DENY" always;
|
||||
add_header X-Content-Type-Options "nosniff";
|
||||
|
||||
root /var/www/html;
|
||||
index index.php;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user