Update system "xa000-1" confuration file "Nginx - Inferencium - Internal - Syncthing" from version "1.0.0" to "1.0.1"

This commit is contained in:
inference 2024-04-07 22:10:54 +00:00
parent a523dde4af
commit 7df31c3421
Signed by: inference
SSH Key Fingerprint: SHA256:K/a677+eHm7chi3X4s77BIpLTE9Vge1tsv+jUL5gI+Y

View File

@ -1,6 +1,6 @@
# Inferencium - xa000-1
# Nginx - Configuration - Inferencium - Internal - Syncthing
# Version: 1.0.0
# Version: 1.0.1
# Copyright 2023 Jake Winters
# SPDX-License-Identifier: BSD-3-Clause
@ -39,21 +39,7 @@ server {
## Security
ssl_certificate /etc/ssl/nginx/inferencium-int/fullchain.pem;
ssl_certificate_key /etc/ssl/nginx/inferencium-int/privkey.pem;
ssl_protocols TLSv1.3;
ssl_early_data off;
ssl_ciphers "ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-GCM-SHA256";
ssl_conf_command Ciphersuites "TLS_AES_256_GCM_SHA384:TLS_CHACHA20_POLY1305_SHA256:TLS_AES_128_GCM_SHA256";
ssl_conf_command Options PrioritizeChaCha;
ssl_prefer_server_ciphers on;
ssl_ecdh_curve x25519:secp256r1;
ssl_stapling on;
ssl_stapling_verify on;
add_header Content-Security-Policy "default-src 'self'; img-src 'self'; media-src 'self'; object-src 'self'; script-src 'self'; connect-src 'none'; frame-src 'self'; style-src 'self'; font-src 'self'";
add_header Referrer-Policy no-referrer;
add_header Strict-Transport-Security "max-age=126200000; always";
add_header X-Content-Type-Options nosniff;
add_header X-Frame-Options "DENY";
add_header Set-Cookie "Path=/;Secure;HttpOnly";
ignore_invalid_headers on;
include include/header-security.conf;
include include/header-security-csp.conf;
}