Revert "修复http3在多Worker 下需要reuseport以及不传HOST变量的问题"

revert-630-master
Mr Chen 5 months ago committed by GitHub
parent 156f6d1791
commit 55d9700401
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 4
      class/core/site_api.py
  2. 5
      plugins/php/conf/pathinfo.conf

@ -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;"

@ -5,7 +5,4 @@ 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;
fastcgi_param PATH_INFO $path_info;
Loading…
Cancel
Save