mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-26 05:09:23 +01:00
etc/nginx/sites-availble: add X-Frame-Options
This commit is contained in:
parent
b2eaca582a
commit
3a32185433
@ -32,6 +32,7 @@ server {
|
||||
|
||||
# Enable this if your want HSTS (recommended)
|
||||
add_header Strict-Transport-Security "max-age=15552000; includeSubdomains; preload";
|
||||
add_header X-Frame-Options SAMEORIGIN;
|
||||
|
||||
# OCSP Stapling ---
|
||||
# fetch OCSP records from URL in ssl_certificate and cache them
|
||||
|
@ -6,6 +6,7 @@ server {
|
||||
|
||||
# Enable this if your want HSTS (recommended)
|
||||
add_header Strict-Transport-Security "max-age=15552000; includeSubdomains; preload";
|
||||
add_header X-Frame-Options SAMEORIGIN;
|
||||
|
||||
server_name something.example.org;
|
||||
|
||||
|
@ -8,6 +8,7 @@ server {
|
||||
|
||||
# Enable this if your want HSTS (recommended)
|
||||
add_header Strict-Transport-Security "max-age=15552000; includeSubdomains; preload";
|
||||
add_header X-Frame-Options SAMEORIGIN;
|
||||
|
||||
root /var/www/vhostdir;
|
||||
index index.php index.html index.htm;
|
||||
|
Loading…
Reference in New Issue
Block a user