fix: keep proxy healthy during tls pending

This commit is contained in:
bisco
2026-06-25 12:00:33 +02:00
parent 0a590989bb
commit 0302634094
4 changed files with 39 additions and 3 deletions
+7
View File
@@ -29,10 +29,17 @@ server {
access_log off;
allow 127.0.0.1;
deny all;
proxy_intercept_errors on;
error_page 301 302 303 307 308 = @wordpress-health-ok;
proxy_set_header Host __DOMAIN__;
proxy_pass http://wordpress_backend/wp-login.php;
}
location @wordpress-health-ok {
access_log off;
return 204;
}
location / {
return 404;
}