-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom SERVER_ADDR overwritten by a default value #2
Comments
Thank you! I actually just noticed WHMCS license page sees my own installation under a local IP. However, somehow license check is valid, which is why I never even looked into it till now. |
Closed
I can confirm by moving the include to the top of the
Now WHMCS receive the IP defined in |
EdyTheCow
added a commit
that referenced
this issue
Apr 11, 2023
Move include to top of location block, improve comments #2
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
docker-whmcs/whmcs/data/nginx/sites/default.conf
Lines 44 to 57 in a489d0e
include fastcgi_params
should be moved to the top oflocation
block because customSERVER_ADDR
will be overwritten by a default value and license check fail.# This needs to be your public IP of the server
-- is a misleading comment. The IP might be anything, e.g.127.0.0.1
. The only requirement for it is to be consistent across all instances, otherwise license check will fail.Here is a small script which may help to debug a license issues (save as test.php to $document_root and access from a web browser):
The text was updated successfully, but these errors were encountered: