internetstandards / Internet.nl

Internet standards compliance test suite
https://internet.nl
176 stars 37 forks source link

ALLOWED_HOSTS needs to be set to domain #1215

Closed nicky-frython closed 10 months ago

nicky-frython commented 10 months ago

Either an omission from the documentation or a minor issue. For the internetnl-app to work correctly you need the add the ALLOWED_HOST var in the local.env and set it to the used domain. Took me a while before I figured it out :) (Should have checked the logs more carefully)

aequitas commented 10 months ago

The ALLOWED_HOSTS variable should be set during the Application setup part of the installation process in the host.env file from the template https://github.com/internetstandards/Internet.nl/blob/main/docker/host-dist.env#L14 using the INTERNETNL_DOMAINNAME variable.

Can you explain what steps you took in the installation to end up with this issue? So I can update the documentation or deployment process.

nicky-frython commented 10 months ago

@aequitas I redid the Application setup and now the file was indeed created with the correct values. Blame me for being slow, I somehow used the older documentation that uses the cat >> docker/host.env <<EOF construction