Updating conf to include secure cookies and XFO via CSP frame-ancestors
This commit is contained in:
parent
a6547f9136
commit
10d6802196
@ -28,6 +28,10 @@ server {
|
||||
add_header X-Frame-Options "SAMEORIGIN";
|
||||
add_header Referrer-Policy "strict-origin";
|
||||
add_header Permissions-Policy "geolocation=(),midi=(),sync-xhr=(),microphone=(),camera=(),magnetometer=(),gyroscope=(),fullscreen=(self),payment=()";
|
||||
add_header Set-Cookie "Path=/; HttpOnly; Secure";
|
||||
|
||||
# CSP
|
||||
add_header Content-Security-Policy "frame-ancestors 'self'";
|
||||
|
||||
# OCSP stapling
|
||||
ssl_stapling on;
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 35 KiB After Width: | Height: | Size: 32 KiB |
Loading…
x
Reference in New Issue
Block a user