ansible-core-net / deploy (push) Successful in 1m50s
ansible-core-mon / deploy (push) Successful in 28s
ansible-core-secrets / deploy (push) Successful in 18s
ansible-ger-nod-02 / deploy (push) Failing after 3s
ansible-opnsense / deploy (push) Successful in 9s
ansible-rus-central / deploy (push) Successful in 1m7s
52 lines
1.7 KiB
Django/Jinja
52 lines
1.7 KiB
Django/Jinja
map $http_upgrade $connection_upgrade {
|
|
default upgrade;
|
|
"" close;
|
|
}
|
|
|
|
ssl_protocols TLSv1.2 TLSv1.3;
|
|
ssl_ecdh_curve X25519:prime256v1:secp384r1;
|
|
ssl_ciphers ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:DHE-RSA-CHACHA20-POLY1305;
|
|
ssl_prefer_server_ciphers on;
|
|
ssl_session_timeout 1d;
|
|
ssl_session_cache shared:MozSSL:10m;
|
|
ssl_session_tickets off;
|
|
|
|
server {
|
|
server_name {{ remnanode_selfsteal_domain }};
|
|
listen unix:/dev/shm/nginx.sock ssl proxy_protocol;
|
|
http2 on;
|
|
|
|
ssl_certificate "/etc/nginx/ssl/{{ remnanode_selfsteal_domain }}/fullchain.pem";
|
|
ssl_certificate_key "/etc/nginx/ssl/{{ remnanode_selfsteal_domain }}/privkey.pem";
|
|
ssl_trusted_certificate "/etc/nginx/ssl/{{ remnanode_selfsteal_domain }}/fullchain.pem";
|
|
|
|
root /var/www/html;
|
|
index index.html;
|
|
|
|
add_header X-Robots-Tag "noindex, nofollow, noarchive, nosnippet, noimageindex" always;
|
|
|
|
location / {
|
|
try_files $uri $uri/ /index.html;
|
|
}
|
|
|
|
location = {{ remnanode_xhttp_path }} {
|
|
default_type text/plain;
|
|
add_header Cache-Control "no-store" always;
|
|
return 200 "ok";
|
|
}
|
|
|
|
location = {{ remnanode_xhttp_path }}/ {
|
|
default_type text/plain;
|
|
add_header Cache-Control "no-store" always;
|
|
return 200 "ok";
|
|
}
|
|
}
|
|
|
|
server {
|
|
listen unix:/dev/shm/nginx.sock ssl proxy_protocol default_server;
|
|
server_name _;
|
|
add_header X-Robots-Tag "noindex, nofollow, noarchive, nosnippet, noimageindex" always;
|
|
ssl_reject_handshake on;
|
|
return 444;
|
|
}
|