update
This commit is contained in:
parent
f5045b61f6
commit
2832ff81f3
29 changed files with 221 additions and 205 deletions
|
|
@ -5,13 +5,18 @@
|
|||
#=========================================================================#
|
||||
|
||||
server {
|
||||
listen %ip%:%proxy_ssl_port% ssl http2;
|
||||
listen [::]:%proxy_ssl_port% ssl http2;
|
||||
listen %ip%:%proxy_ssl_port% ssl;
|
||||
listen [::]:%proxy_ssl_port% ssl;
|
||||
server_name %domain_idn% %alias_idn%;
|
||||
ssl_certificate %ssl_pem%;
|
||||
ssl_certificate_key %ssl_key%;
|
||||
ssl_stapling on;
|
||||
ssl_stapling_verify on;
|
||||
|
||||
# TLS 1.3 0-RTT anti-replay
|
||||
if ($anti_replay = 307) { return 307 https://$host$request_uri; }
|
||||
if ($anti_replay = 425) { return 425; }
|
||||
|
||||
error_log /var/log/%web_system%/domains/%domain%.error.log error;
|
||||
|
||||
root /home/tunasync/mirrors;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue