Browse Source

Fix nginx.conf settings.

master
Hakase 5 months ago
parent
commit
60e3dc12e0
Signed by: Hakase <hakase@hakase.app> GPG Key ID: BB2821A9E0DF48C9
1 changed files with 5 additions and 3 deletions
  1. 5
    3
      conf/nginx.conf

+ 5
- 3
conf/nginx.conf View File

@@ -52,12 +52,14 @@ http {
52 52
     real_ip_header     CF-Connecting-IP;
53 53
 
54 54
     # SSL Config
55
-    strict_sni on;
56
-    strict_sni_header on;
55
+    ## Strict SNI must use fake server.
56
+    strict_sni off;
57
+    ## Strict SNI Header must use 'strict_sni'.
58
+    strict_sni_header off;
57 59
     ssl_dyn_rec_enable on;
58 60
     ssl_early_data on;
59 61
 
60
-    ## SSL OCSP Stapling
62
+    # SSL OCSP Stapling
61 63
     resolver 1.1.1.1 1.0.0.1 valid=86400s ipv6=off;
62 64
     resolver_timeout 15s;
63 65
     ssl_stapling on;

Loading…
Cancel
Save