ministryofjustice / justice-gov-uk

Justice UK website
https://www.justice.gov.uk/
MIT License
2 stars 0 forks source link

Handle requests to the application host, by sending them to a loopback url. #137

Closed EarthlingDavey closed 4 months ago

EarthlingDavey commented 4 months ago

This PR sets a config of WP_LOOPBACK to one that is defined in the environment variables.

If there's a WP request to home_url then this is replaced with WP_LOOPBACK.

As WP_LOOPBACK can be the nginx container, we don't need ssl, or basic auth.

Some un-needed local config has also been removed/reverted.

sentry-io[bot] commented 4 months ago

Suspect Issues

This pull request was deployed and Sentry observed the following issues:

Did you find this useful? React with a 👍 or 👎