mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 01:39:25 +08:00
Revert "修复http3在多Worker 下需要reuseport以及不传HOST变量的问题"
This commit is contained in:
@@ -2828,8 +2828,8 @@ location ^~ {from} {\n\
|
||||
if version.startswith('1.25'):
|
||||
http_ssl = "\n\tlisten 443 ssl;"
|
||||
http_ssl = http_ssl + "\n\tlisten [::]:443 ssl;"
|
||||
http_ssl = http_ssl + "\n\tlisten 443 quic reuseport;"
|
||||
http_ssl = http_ssl + "\n\tlisten [::]:443 quic reuseport;"
|
||||
http_ssl = http_ssl + "\n\tlisten 443 quic;"
|
||||
http_ssl = http_ssl + "\n\tlisten [::]:443 quic;"
|
||||
http_ssl = http_ssl + "\n\thttp2 on;"
|
||||
else:
|
||||
http_ssl = "\n\tlisten 443 ssl http2;"
|
||||
|
||||
@@ -6,6 +6,3 @@ if ($fastcgi_script_name ~ "^(.+?\.php)(/.+)$") {
|
||||
fastcgi_param SCRIPT_FILENAME $document_root$real_script_name;
|
||||
fastcgi_param SCRIPT_NAME $real_script_name;
|
||||
fastcgi_param PATH_INFO $path_info;
|
||||
|
||||
#修复http3不传HOST问题
|
||||
fastcgi_param HTTP_HOST $host;
|
||||
|
||||
Reference in New Issue
Block a user