aws-samples / aws-samples/eb-php-wordpress

Issue With Health Checks

Offen
#22 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
PHP
Sterne
166
Forks
92
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

My Health Checks are failing because of 3xx responses. I believe this is happening because the health check is trying to load the site using the ip of the ec2 instance. When the site is loaded wordpress checks the options table in the db and sends a redirect to the url listed under site_url.

In short, if I open a browser hit the ec2 instance directly by ip I get redirected to the actual url. I believe that is what is happening with the health check.

If this is the case how do I get the instances to respond with a 200 so the check passes?

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.