Skip to content

Ensure geo.conf is loaded before default.conf#1849

Merged
mkst merged 1 commit intomainfrom
fixup-nginx-conf
Feb 27, 2026
Merged

Ensure geo.conf is loaded before default.conf#1849
mkst merged 1 commit intomainfrom
fixup-nginx-conf

Conversation

@mkst
Copy link
Collaborator

@mkst mkst commented Feb 27, 2026

  1. Removing the explicit include of geo.conf because the default nginx config (/etc/nginx) is explicitly including all .conf files:
include /etc/nginx/conf.d/*.conf;
  1. mounting geo.conf as 000_geo.conf so it gets loaded first (before default.conf)

NOTE: already made this change manually on the box because I noticed we were not logging remote IPs (instead we logged cloudflare ip twice)

@mkst mkst merged commit e1887da into main Feb 27, 2026
7 checks passed
@mkst mkst deleted the fixup-nginx-conf branch February 27, 2026 23:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant