mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-04-25 17:35:52 +03:00
[GH-ISSUE #78] Nginx Modul support #70
Labels
No labels
awaiting feedback
bug
cannot reproduce
dns provider request
duplicate
enhancement
enhancement
enhancement
good first issue
help wanted
invalid
need more info
no certbot plugin available
product-support
pull-request
question
stale
troll
upstream issue
v2
v2
v2
v3
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nginx-proxy-manager-NginxProxyManager#70
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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 @wuast94 on GitHub (Feb 20, 2019).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/78
Would be nice to have the possibility to activate nginx modules.
For example:
http_geoip_module
Or
http_stub_status_module
@jc21 commented on GitHub (Feb 21, 2019):
Geoip is already planned to be added in #46. Any future modules might have to be included as part of docker custom builds, as in the non-x86_64 builds, nginx is built from source.
@wuast94 commented on GitHub (Feb 21, 2019):
after a long night i have new infos :D
thoose modules are alred activ but it was quit hard to get it runnig.
/etc/nginx/conf.d/status.conf (to enable the /nginx_status page)
/etc/nginx/nginx.conf (for geoip and i do some custom logging for more infos)
/etc/nginx/geoip (to dd the geoip files .. i tell more bout it in #46 )
i think it would be nice to symlink /etc/nginx/ to /config/nginx/config (or something like that)
access_log /config/log/nginx/accesscust.log custom;for custom logging in every proxy host i have.
and as far as i understand it is a thing i cant put in advanced setting if i edit a proxy. or can i ?
i think i can made a tutorial or something like that for my problem. in main its used for get data from nginx .. and visualize it with grafana :)
@jc21 commented on GitHub (Feb 25, 2019):
To simplify a possible generic solution here, you want to be able to add your own configuration items to the main
nginxblock, not inside theserverblock?Specific to the status page plugin, it might be possible to make that information available from within the applicaiton interface.
@wuast94 commented on GitHub (Feb 25, 2019):
Yes..would be nice to be able to edit the nginx block as you told it :)
I think too yes. I get this working and it's nice to see what happens over nginx. The Only Stat im missing ist the bandwidth (up and down stream) but i don't think this is possible over ngix..but you can get this information over docker. But only for the container not for services/Proxys inside the container.
And yes..a interface in the container could be nice to..I'm using telegraf/influxdb/grafana for visualizing Infos from nginx and other services :)
@jc21 commented on GitHub (Feb 25, 2019):
Yeah I don't think you're going to get specific hostname traffic statistics without an logfile analyzer, ELK or prometheus etc. I've thought about having another docker image that accompanies this project to provide this, but I haven't had any time to look in to it.
@pitsch commented on GitHub (Apr 16, 2019):
modules such as NAXSI WAF, a whitelisting web firewall to prevent XSS/SQL attacks, has a learning mode when you add a new service.
https://github.com/nbs-system/naxsi
@OhHeyAlan commented on GitHub (May 11, 2019):
I’ve tried to recreate this app (the base image) based on Nginx/1.15.12-Alpine and complied with OpenSSL 1.1.1c and the build is successful but I’m not sure how to get it to work with the final image...
Would love to harden the security of this container and make it easier to add new features/customize.
@jc21 commented on GitHub (May 12, 2019):
As a proof of concept, you can fork this repo, modify the
Dockerfileto use your new base image, create a PR and my CI will create a working docker image for you to test.@OhHeyAlan commented on GitHub (May 12, 2019):
I’m under the weather right now but I’ll give that a try. I use GitLab-CI and I’ve been able to build a few new images and they run but without web UI.
Lately the build fails once it gets to the ‘ADD dist /app/dist’ step. Says the directory doesn’t exist.
@ansuz07 commented on GitHub (Oct 21, 2019):
@wuast94 - Could you post a short guide on how you got the status/geoip working? I'm having a beast of a time with it.
Thanks!
@wuast94 commented on GitHub (Oct 23, 2019):
Here I have written how I get it working for me. Can you tell me how far you come and where your problems are?
https://github.com/jc21/nginx-proxy-manager/issues/78#issuecomment-465956712
@ansuz07 commented on GitHub (Oct 23, 2019):
@wuast94 Thanks for the reply. I've managed to get the status page working, but I'm stuck on the GeoIP bit.
I've been trying to follow this guide: https://medium.com/faun/total-nginx-monitoring-with-application-performance-and-a-bit-more-using-8fc6d731051b but when I add the geoip references to the nginx.conf file and run nginx -t I get the following:
What did you add to your nginx.conf file to get this working? Thanks!
@tuxmeister commented on GitHub (Nov 19, 2020):
Did you manage to put together a tutorial for this? I am also interested in extracting logs through telegraf for a TIG setup. I'm mostly interested in your custom logging solution for all the proxy hosts into a single file. Cheers!
@wuast94 commented on GitHub (Nov 19, 2020):
@tuxmeister everything relevant is here and in #46
I'm not using this setup anymore..or more specific the geoip module. This was more becouse of traffic logging per sub domain wich isn't possible in the free or community version of nginx. Could be implemented in nginxproxymanager but I think that's a huge amount of work.
@github-actions[bot] commented on GitHub (Apr 3, 2024):
Issue is now considered stale. If you want to keep it open, please comment 👍
@github-actions[bot] commented on GitHub (May 13, 2025):
Issue was closed due to inactivity.