You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/src/advanced-config/index.md
+10
Original file line number
Diff line number
Diff line change
@@ -173,6 +173,7 @@ NPM has the ability to include different custom configuration snippets in differ
173
173
174
174
You can add your custom configuration snippet files at `/data/nginx/custom` as follow:
175
175
176
+
- `/data/nginx/custom/root_top.conf`: Included at the top of nginx.conf
176
177
- `/data/nginx/custom/root.conf`: Included at the very end of nginx.conf
177
178
- `/data/nginx/custom/http_top.conf`: Included at the top of the main http block
178
179
- `/data/nginx/custom/http.conf`: Included at the end of the main http block
@@ -212,3 +213,12 @@ You can customise the logrotate configuration through a mount (if your custom co
212
213
```
213
214
214
215
For reference, the default configuration can be found [here](https://github.com/NginxProxyManager/nginx-proxy-manager/blob/develop/docker/rootfs/etc/logrotate.d/nginx-proxy-manager).
216
+
217
+
## Enabling the geoip2 module
218
+
219
+
To enable the geoip2 module, you can create the custom configuration file `/data/nginx/custom/root_top.conf` and include the following snippet:
0 commit comments