mirror of
https://github.com/yusing/godoxy.git
synced 2026-01-14 06:13:33 +01:00
acl setup error #72
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @gilbrotheraway on GitHub (May 12, 2025).
I'm getting this when trying to set up geoblocking
config
@yusing commented on GitHub (May 13, 2025):
The config you posted doesn't match the errors listed above. Could you show me the full config (with secrets redacted)?
@SuperSuave commented on GitHub (May 13, 2025):
I actually have the same exact issue. It pops up as soon as I try adding the "allow" key underneath "default: deny/allow"
Here's my full config
@yusing commented on GitHub (May 13, 2025):
Hi, I'll test for this when I'm off work today
@yusing commented on GitHub (May 13, 2025):
@SuperSuave @Fuckingnameless Fixed
@SuperSuave commented on GitHub (May 13, 2025):
Hi @yusing, that specific problem is fixed, but now when I add in the allow key, I get an error that MaxMind isn't configured:
godoxy | 05-13 09:12 FTL config load error
godoxy | • acl > allow > [0]: MaxMind not configured
godoxy |
godoxy exited with code 1
However, once I remove that key, the logs show that maxmind is working:
godoxy | 05-13 09:10 INF MaxMind DB is up to date database=geolite
godoxy | 05-13 09:10 INF server started addr=127.0.0.1:8888 proto=http server=api
@gilbrotheraway commented on GitHub (May 14, 2025):
same here
panic: acl > allow > [0]: MaxMind not configured
entrypoint > docker: unknown field
• Do you mean accesslog?
@yusing commented on GitHub (May 14, 2025):
Maxmind credentials are required for "country" and "city" matching 😅.
@Fuckingnameless "docker" is under providers, not entrypoint
@yusing commented on GitHub (May 14, 2025):
https://docs.godoxy.dev/Access-Control
@SuperSuave commented on GitHub (May 14, 2025):
@yusing I have MaxMind credentials in my config under the "Providers" key(see in my config above), are they supposed to go somewhere else too?
@yusing commented on GitHub (May 14, 2025):
@SuperSuave @Fuckingnameless fixed too, please pull and try again
@gilbrotheraway commented on GitHub (May 15, 2025):
now i get:
@yusing commented on GitHub (May 15, 2025):
@Fuckingnameless
@gilbrotheraway commented on GitHub (May 15, 2025):
it was under providers but i had 2 providers directives because i just copied the ACL example from docs, now I'm able to get the container running, only issue remaining is https://github.com/yusing/godoxy/issues/108