Add cookie secure flag

Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
Tommy 2025-01-03 09:13:14 -07:00 committed by GitHub
parent 819c0e6372
commit 1ca56b7039
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -36,13 +36,16 @@ ssl_session_ticket_key session-ticket-keys/1.key;
## ssl_trusted_certificate
## ssl_stapling_file
# Disable server tokens
server_tokens off;
# Cookie flags
proxy_cookie_flags ~ secure;
# Disable compression
## Mitigates oracle attacks
gzip off;
# Disable server tokens
server_tokens off;
server {
listen ipv4_1:80 default_server;
listen [ipv6_1]:80 default_server;