generated from bisco/codex-bootstrap
fix: keep proxy healthy during tls pending
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user