Hi all, this is not a question for the creators(although of course they can help), the question is rather for those who did it, namely, transferred their WP site to Quic, and got stability. At the beginning when I used the template Support for Wordpress HTTP 3 QUIC - #30 , I didn’t see any difficulties, but now I started getting errors. I created a test site in which I put a WP template with Quic https://quic.angellive.ru/
#limit_req_zone $binary_remote_addr zone=open:10m rate=30r/s;
server {
listen %ip%:%web_ssl_port% ssl;
listen %ip%:%web_ssl_port% quic;
# listen [::]:%web_ssl_port% ssl;
# listen [::]:%web_ssl_port% quic;
server_name %domain_idn% %alias_idn%;
root %sdocroot%;
index index.php index.html index.htm;
access_log /var/log/nginx/domains/%domain%.log combined;
access_log /var/log/nginx/domains/%domain%.bytes bytes;
error_log /var/log/nginx/domains/%domain%.error.log error;
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; }
include %home%/%user%/conf/web/%domain%/nginx.hsts.conf*;
# HTTP/3 specific settings
ssl_protocols TLSv1.3;
ssl_prefer_server_ciphers off;
add_header Alt-Svc 'h3=":%web_ssl_port%"; ma=86400'; # Advertise that HTTP/3 is available
add_header QUIC-Status $http3;
location = /favicon.ico {
log_not_found off;
access_log off;
}
location = /robots.txt {
try_files $uri $uri/ /index.php?$args;
log_not_found off;
access_log off;
}
location ~ /\.(?!well-known\/) {
deny all;
return 404;
}
location = /xmlrpc.php {
deny all;
access_log off;
log_not_found off;
return 403;
}
location / {
try_files $uri $uri/ /index.php?$args;
# limit_req zone=open burst=15 nodelay;
location ~* ^.+\.(ogg|ogv|svg|svgz|swf|eot|otf|woff|woff2|mov|mp3|mp4|webm|flv|ttf|rss|atom|jpg|jpeg|gif|png|webp|ico|bmp|mid|midi|wav|rtf|css|js|pdf|jar)$ {
expires 365d;
fastcgi_hide_header "Set-Cookie";
}
location ~* /(?:uploads|files)/.*.php$ {
deny all;
return 404;
}
location ~ [^/]\.php(/|$) {
try_files $uri =404;
# limit_req zone=open burst=20 nodelay;
include /etc/nginx/fastcgi_params;
fastcgi_index index.php;
fastcgi_param HTTP_EARLY_DATA $rfc_early_data if_not_empty;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_pass %backend_lsnr%;
include %home%/%user%/conf/web/%domain%/nginx.fastcgi_cache.conf*;
if ($request_uri ~* "/wp-admin/|/wp-json/|wp-.*.php|xmlrpc.php|index.php|/store.*|/cart.*|/my-account.*|/checkout.*") {
set $no_cache 1;
}
if ($http_cookie ~* "comment_author|wordpress_[a-f0-9]+|wp-postpass|wordpress_no_cache|wordpress_logged_in|woocommerce_items_in_cart|woocommerce_cart_hash|PHPSESSID") {
set $no_cache 1;
}
}
}
location /error/ {
alias %home%/%user%/web/%domain%/document_errors/;
}
location /vstats/ {
alias %home%/%user%/web/%domain%/stats/;
include %home%/%user%/web/%domain%/stats/auth.conf*;
}
proxy_hide_header Upgrade;
include /etc/nginx/conf.d/phpmyadmin.inc*;
include /etc/nginx/conf.d/phppgadmin.inc*;
include %home%/%user%/conf/web/%domain%/nginx.ssl.conf_*;
}
I tried using WP on different sites with similar plugins, but then I created a completely new clean one just with a template theme https://quic.angellive.ru/ And I started getting these errors. All the sites that I tried to use when installing this template give these errors. More errors where either does not occur,I mean databases for example.
2024/10/30 19:33:51 [error] 402309#402309: *284 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "HTTP_HOST" in /home/kjdfkldsjfklds/web/quic.angellive.ru/public_html/wp-content/plugins/query-monitor/collectors/raw_request.php on line 57" while reading response header from upstream, client: 104.28.161.38, server: quic.angellive.ru, request: "POST /wp-admin/admin-ajax.php HTTP/3.0", upstream: "fastcgi://unix:/run/php/php8.2-fpm-quic.angellive.ru.sock:", referrer: "https://quic.angellive.ru/wp-admin/index.php"
2024/10/30 19:35:46 [error] 402309#402309: *291 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "HTTP_HOST" in /home/kjdfkldsjfklds/web/quic.angellive.ru/public_html/wp-content/plugins/query-monitor/collectors/raw_request.php on line 57" while reading response header from upstream, client: 104.28.161.38, server: quic.angellive.ru, request: "POST /wp-admin/admin-ajax.php HTTP/3.0", upstream: "fastcgi://unix:/run/php/php8.2-fpm-quic.angellive.ru.sock:", referrer: "https://quic.angellive.ru/wp-admin/themes.php?page=starter-templates&ci=5"
2024/10/30 19:35:51 [error] 402309#402309: *296 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "HTTP_HOST" in /home/kjdfkldsjfklds/web/quic.angellive.ru/public_html/wp-content/plugins/query-monitor/collectors/raw_request.php on line 57" while reading response header from upstream, client: 104.28.161.38, server: quic.angellive.ru, request: "POST /wp-admin/admin-ajax.php HTTP/3.0", upstream: "fastcgi://unix:/run/php/php8.2-fpm-quic.angellive.ru.sock:", referrer: "https://quic.angellive.ru/wp-admin/index.php"
2024/10/30 19:37:51 [error] 402309#402309: *308 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "HTTP_HOST" in /home/kjdfkldsjfklds/web/quic.angellive.ru/public_html/wp-content/plugins/query-monitor/collectors/raw_request.php on line 57" while reading response header from upstream, client: 104.28.161.38, server: quic.angellive.ru, request: "POST /wp-admin/admin-ajax.php HTTP/3.0", upstream: "fastcgi://unix:/run/php/php8.2-fpm-quic.angellive.ru.sock:", referrer: "https://quic.angellive.ru/wp-admin/index.php"
2024/10/30 19:39:52 [error] 402309#402309: *315 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "HTTP_HOST" in /home/kjdfkldsjfklds/web/quic.angellive.ru/public_html/wp-content/plugins/query-monitor/collectors/raw_request.php on line 57" while reading response header from upstream, client: 104.28.161.38, server: quic.angellive.ru, request: "POST /wp-admin/admin-ajax.php HTTP/3.0", upstream: "fastcgi://unix:/run/php/php8.2-fpm-quic.angellive.ru.sock:", referrer: "https://quic.angellive.ru/wp-admin/index.php"
2024/10/30 19:43:52 [error] 402309#402309: *334 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "HTTP_HOST" in /home/kjdfkldsjfklds/web/quic.angellive.ru/public_html/wp-content/plugins/query-monitor/collectors/raw_request.php on line 57" while reading response header from upstream, client: 104.28.161.38, server: quic.angellive.ru, request: "POST /wp-admin/admin-ajax.php HTTP/3.0", upstream: "fastcgi://unix:/run/php/php8.2-fpm-quic.angellive.ru.sock:", referrer: "https://quic.angellive.ru/wp-admin/index.php"
2024/10/30 19:47:53 [error] 402309#402309: *355 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "HTTP_HOST" in /home/kjdfkldsjfklds/web/quic.angellive.ru/public_html/wp-content/plugins/query-monitor/collectors/raw_request.php on line 57" while reading response header from upstream, client: 104.28.161.38, server: quic.angellive.ru, request: "POST /wp-admin/admin-ajax.php HTTP/3.0", upstream: "fastcgi://unix:/run/php/php8.2-fpm-quic.angellive.ru.sock:", referrer: "https://quic.angellive.ru/wp-admin/index.php"
2024/10/30 19:49:52 [error] 402309#402309: *368 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "HTTP_HOST" in /home/kjdfkldsjfklds/web/quic.angellive.ru/public_html/wp-content/plugins/query-monitor/collectors/raw_request.php on line 57" while reading response header from upstream, client: 104.28.161.38, server: quic.angellive.ru, request: "POST /wp-admin/admin-ajax.php HTTP/3.0", upstream: "fastcgi://unix:/run/php/php8.2-fpm-quic.angellive.ru.sock:", referrer: "https://quic.angellive.ru/wp-admin/index.php"
2024/10/30 19:51:02 [error] 402309#402309: *383 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "HTTP_HOST" in /home/kjdfkldsjfklds/web/quic.angellive.ru/public_html/wp-content/plugins/query-monitor/collectors/raw_request.php on line 57" while reading response header from upstream, client: 104.28.161.38, server: quic.angellive.ru, request: "POST /wp-admin/admin-ajax.php HTTP/3.0", upstream: "fastcgi://unix:/run/php/php8.2-fpm-quic.angellive.ru.sock:", referrer: "https://quic.angellive.ru/wp-admin/index.php"
2024/10/30 19:51:12 [error] 402309#402309: *490 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "HTTP_HOST" in /home/kjdfkldsjfklds/web/quic.angellive.ru/public_html/wp-content/plugins/query-monitor/collectors/raw_request.php on line 57" while reading response header from upstream, client: 104.28.161.38, server: quic.angellive.ru, request: "GET /wp-json/wp/v2/users/me?context=edit&_locale=user HTTP/3.0", upstream: "fastcgi://unix:/run/php/php8.2-fpm-quic.angellive.ru.sock:", referrer: "https://quic.angellive.ru/wp-admin/customize.php?return=%2Fwp-admin%2Findex.php"
2024/10/30 19:51:12 [error] 402309#402309: *492 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "HTTP_HOST" in /home/kjdfkldsjfklds/web/quic.angellive.ru/public_html/wp-content/plugins/query-monitor/collectors/raw_request.php on line 57" while reading response header from upstream, client: 104.28.161.38, server: quic.angellive.ru, request: "GET /wp-json/spectra/v1/editor?_locale=user HTTP/3.0", upstream: "fastcgi://unix:/run/php/php8.2-fpm-quic.angellive.ru.sock:", referrer: "https://quic.angellive.ru/wp-admin/customize.php?return=%2Fwp-admin%2Findex.php"
2024/10/30 19:51:14 [error] 402309#402309: *494 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "HTTP_HOST" in /home/kjdfkldsjfklds/web/quic.angellive.ru/public_html/wp-content/plugins/query-monitor/collectors/raw_request.php on line 57" while reading response header from upstream, client: 104.28.161.38, server: quic.angellive.ru, request: "GET /wp-json/wp/v2/widget-types?context=edit&per_page=100&_locale=user HTTP/3.0", upstream: "fastcgi://unix:/run/php/php8.2-fpm-quic.angellive.ru.sock:", referrer: "https://quic.angellive.ru/wp-admin/customize.php?return=%2Fwp-admin%2Findex.php"
2024/10/30 19:51:14 [error] 402309#402309: *496 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "host" in /home/kjdfkldsjfklds/web/quic.angellive.ru/public_html/wp-includes/canonical.php on line 716; PHP message: PHP Warning: Undefined array key "host" in /home/kjdfkldsjfklds/web/quic.angellive.ru/public_html/wp-includes/canonical.php on line 727; PHP message: PHP Warning: Undefined array key "host" in /home/kjdfkldsjfklds/web/quic.angellive.ru/public_html/wp-includes/canonical.php on line 730; PHP message: PHP Warning: Trying to access array offset on value of type bool in /home/kjdfkldsjfklds/web/quic.angellive.ru/public_html/wp-includes/class-wp-customize-manager.php on line 1994; PHP message: PHP Warning: Undefined array key "HTTP_HOST" in /home/kjdfkldsjfklds/web/quic.angellive.ru/public_html/wp-content/plugins/query-monitor/collectors/raw_request.php on line 57" while reading response header from upstream, client: 104.28.161.38, server: quic.angellive.ru, request: "GET /?customize_changeset_uuid=164fbaf8-ab98-459f-8980-84452c85d75c&customize_theme=astra&customize_messenger_channel=preview-0 HTTP/3.0", upstream: "fastcgi://unix:/run/php/php8.2-fpm-quic.angellive.ru.sock:", referrer: "https://quic.angellive.ru/wp-admin/customize.php?return=%2Fwp-admin%2Findex.php"
2024/10/30 19:51:19 [error] 402309#402309: *500 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "HTTP_HOST" in /home/kjdfkldsjfklds/web/quic.angellive.ru/public_html/wp-content/plugins/query-monitor/collectors/raw_request.php on line 57" while reading response header from upstream, client: 104.28.161.38, server: quic.angellive.ru, request: "GET /wp-json/wp/v2/types?context=view&_locale=user HTTP/3.0", upstream: "fastcgi://unix:/run/php/php8.2-fpm-quic.angellive.ru.sock:", referrer: "https://quic.angellive.ru/wp-admin/customize.php?return=%2Fwp-admin%2Findex.php"
2024/10/30 19:51:52 [error] 402309#402309: *515 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "HTTP_HOST" in /home/kjdfkldsjfklds/web/quic.angellive.ru/public_html/wp-content/plugins/query-monitor/collectors/raw_request.php on line 57" while reading response header from upstream, client: 104.28.161.38, server: quic.angellive.ru, request: "GET /wp-json/wp/v2/users/me?context=edit&_locale=user HTTP/3.0", upstream: "fastcgi://unix:/run/php/php8.2-fpm-quic.angellive.ru.sock:", referrer: "https://quic.angellive.ru/wp-admin/customize.php?return=%2Fwp-admin%2Findex.php"
2024/10/30 19:51:53 [error] 402309#402309: *517 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "HTTP_HOST" in /home/kjdfkldsjfklds/web/quic.angellive.ru/public_html/wp-content/plugins/query-monitor/collectors/raw_request.php on line 57" while reading response header from upstream, client: 104.28.161.38, server: quic.angellive.ru, request: "GET /wp-json/spectra/v1/editor?_locale=user HTTP/3.0", upstream: "fastcgi://unix:/run/php/php8.2-fpm-quic.angellive.ru.sock:", referrer: "https://quic.angellive.ru/wp-admin/customize.php?return=%2Fwp-admin%2Findex.php"
2024/10/30 19:51:56 [error] 402309#402309: *519 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "HTTP_HOST" in /home/kjdfkldsjfklds/web/quic.angellive.ru/public_html/wp-content/plugins/query-monitor/collectors/raw_request.php on line 57" while reading response header from upstream, client: 104.28.161.38, server: quic.angellive.ru, request: "GET /wp-json/wp/v2/widget-types?context=edit&per_page=100&_locale=user HTTP/3.0", upstream: "fastcgi://unix:/run/php/php8.2-fpm-quic.angellive.ru.sock:", referrer: "https://quic.angellive.ru/wp-admin/customize.php?return=%2Fwp-admin%2Findex.php"
2024/10/30 19:51:56 [error] 402309#402309: *520 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "host" in /home/kjdfkldsjfklds/web/quic.angellive.ru/public_html/wp-includes/canonical.php on line 716; PHP message: PHP Warning: Undefined array key "host" in /home/kjdfkldsjfklds/web/quic.angellive.ru/public_html/wp-includes/canonical.php on line 727; PHP message: PHP Warning: Undefined array key "host" in /home/kjdfkldsjfklds/web/quic.angellive.ru/public_html/wp-includes/canonical.php on line 730; PHP message: PHP Warning: Trying to access array offset on value of type bool in /home/kjdfkldsjfklds/web/quic.angellive.ru/public_html/wp-includes/class-wp-customize-manager.php on line 1994; PHP message: PHP Warning: Undefined array key "HTTP_HOST" in /home/kjdfkldsjfklds/web/quic.angellive.ru/public_html/wp-content/plugins/query-monitor/collectors/raw_request.php on line 57" while reading response header from upstream, client: 104.28.161.38, server: quic.angellive.ru, request: "GET /?customize_changeset_uuid=b2d834ab-31f5-4164-b5f3-3a75e5d6e885&customize_theme=astra&customize_messenger_channel=preview-0 HTTP/3.0", upstream: "fastcgi://unix:/run/php/php8.2-fpm-quic.angellive.ru.sock:", referrer: "https://quic.angellive.ru/wp-admin/customize.php?return=%2Fwp-admin%2Findex.php"
2024/10/30 19:52:04 [error] 402309#402309: *523 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "HTTP_HOST" in /home/kjdfkldsjfklds/web/quic.angellive.ru/public_html/wp-content/plugins/query-monitor/collectors/raw_request.php on line 57" while reading response header from upstream, client: 104.28.161.38, server: quic.angellive.ru, request: "GET /wp-json/wp/v2/types?context=view&_locale=user HTTP/3.0", upstream: "fastcgi://unix:/run/php/php8.2-fpm-quic.angellive.ru.sock:", referrer: "https://quic.angellive.ru/wp-admin/customize.php?return=%2Fwp-admin%2Findex.php"
2024/10/30 19:52:56 [error] 402309#402309: *536 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "HTTP_HOST" in /home/kjdfkldsjfklds/web/quic.angellive.ru/public_html/wp-content/plugins/query-monitor/collectors/raw_request.php on line 57" while reading response header from upstream, client: 104.28.161.38, server: quic.angellive.ru, request: "GET /wp-json/wp/v2/users/me?context=edit&_locale=user HTTP/3.0", upstream: "fastcgi://unix:/run/php/php8.2-fpm-quic.angellive.ru.sock:", referrer: "https://quic.angellive.ru/wp-admin/index.php"
2024/10/30 19:53:00 [error] 402309#402309: *538 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "host" in /home/kjdfkldsjfklds/web/quic.angellive.ru/public_html/wp-includes/canonical.php on line 716; PHP message: PHP Warning: Undefined array key "host" in /home/kjdfkldsjfklds/web/quic.angellive.ru/public_html/wp-includes/canonical.php on line 727; PHP message: PHP Warning: Undefined array key "host" in /home/kjdfkldsjfklds/web/quic.angellive.ru/public_html/wp-includes/canonical.php on line 730; PHP message: PHP Warning: Undefined array key "HTTP_HOST" in /home/kjdfkldsjfklds/web/quic.angellive.ru/public_html/wp-content/plugins/query-monitor/collectors/raw_request.php on line 57" while reading response header from upstream, client: 104.28.161.38, server: quic.angellive.ru, request: "GET / HTTP/3.0", upstream: "fastcgi://unix:/run/php/php8.2-fpm-quic.angellive.ru.sock:", referrer: "https://quic.angellive.ru/wp-admin/index.php"
2024/10/30 19:53:05 [error] 402309#402309: *540 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "host" in /home/kjdfkldsjfklds/web/quic.angellive.ru/public_html/wp-includes/canonical.php on line 716; PHP message: PHP Warning: Undefined array key "host" in /home/kjdfkldsjfklds/web/quic.angellive.ru/public_html/wp-includes/canonical.php on line 727; PHP message: PHP Warning: Undefined array key "host" in /home/kjdfkldsjfklds/web/quic.angellive.ru/public_html/wp-includes/canonical.php on line 730; PHP message: PHP Warning: Undefined array key "HTTP_HOST" in /home/kjdfkldsjfklds/web/quic.angellive.ru/public_html/wp-content/plugins/query-monitor/collectors/raw_request.php on line 57" while reading response header from upstream, client: 104.28.161.38, server: quic.angellive.ru, request: "GET / HTTP/3.0", upstream: "fastcgi://unix:/run/php/php8.2-fpm-quic.angellive.ru.sock:", referrer: "https://quic.angellive.ru/wp-admin/index.php"
2024/10/30 19:53:29 [error] 402309#402309: *585 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "host" in /home/kjdfkldsjfklds/web/quic.angellive.ru/public_html/wp-includes/canonical.php on line 716; PHP message: PHP Warning: Undefined array key "host" in /home/kjdfkldsjfklds/web/quic.angellive.ru/public_html/wp-includes/canonical.php on line 727; PHP message: PHP Warning: Undefined array key "host" in /home/kjdfkldsjfklds/web/quic.angellive.ru/public_html/wp-includes/canonical.php on line 730" while reading response header from upstream, client: 104.28.161.38, server: quic.angellive.ru, request: "GET / HTTP/3.0", upstream: "fastcgi://unix:/run/php/php8.2-fpm-quic.angellive.ru.sock:"
2024/10/30 19:53:30 [error] 402309#402309: *591 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "host" in /home/kjdfkldsjfklds/web/quic.angellive.ru/public_html/wp-includes/canonical.php on line 716; PHP message: PHP Warning: Undefined array key "host" in /home/kjdfkldsjfklds/web/quic.angellive.ru/public_html/wp-includes/canonical.php on line 727; PHP message: PHP Warning: Undefined array key "host" in /home/kjdfkldsjfklds/web/quic.angellive.ru/public_html/wp-includes/canonical.php on line 730" while reading response header from upstream, client: 104.28.161.38, server: quic.angellive.ru, request: "GET / HTTP/3.0", upstream: "fastcgi://unix:/run/php/php8.2-fpm-quic.angellive.ru.sock:"
My system is Ubuntu server 22.04, Hestia version v1. 8. 12, MariaDB 11.4.3, Nginx 1.27, PHP 8.2 Nginx caching is not enabled
Maybe one of you managed to use HTTP/3 without WP errors, share Thank you