refactor(remnawave,exit-node): split bootstrap/sync and generalize ger-nod-02 roles
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
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
This commit is contained in:
1 parent
83baec4bad
commit
2fc6e39323
19 files changed
+1092
-863
No files matched your search
@@ -0,0 +1,51 @@
|
||||
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;
|
||||
}
|
||||
Reference in new issue
Block a user