AMP installerScript | Add support for Cloudflare

  • 351 Views
  • Last Post 08 December 2019
  • Topic Is Solved
KleinDev posted this 08 December 2019

If the domain is configured by cloudflare, resolving the ip will never be the public ip of this server..

Checking settings... The specified domain panel.kleinhost.de resolves to 104.24.121.60 104.24.120.60 but your external IP is XXX.XXX.XXX.XXX - Aborting.

Please add support for cloudflare or change the action (in this case: exit) to "print a warning message"

Mike posted this 08 December 2019

If you select "no" when asked, you can run ampinstmgr setupnginx at a later time to set up HTTPS without the origin check. Using cloudflare requires additional configuration which is why its not supported using the install script.

Close