Comments (5)
Introduced in this commit:
6863343
from ansible-role-nginx.
This commit also introduce by default nginx to load the mod-http-geoip
module.
It would be better to not load modules by default. Let people decide what have to be loaded
cc @q2digger
from ansible-role-nginx.
@techzilla @rlex Thanks for the report. If some of you or @q2digger can fix, it will be very nice ;)
@gaelL No worries, it's the documentation, geoip isn't load by default ;)
from ansible-role-nginx.
There is more to it than just fixing "when"
After some digging i think that
(only for RHEL & CentOS).
Is wrong.
Ubuntu, nginx.org repo:
nginx-module-geoip - nginx GeoIP dynamic modules
nginx-module-geoip-dbg - debug symbols for the nginx-module-geoip
nginx-module-image-filter - nginx image filter dynamic module
nginx-module-image-filter-dbg - debug symbols for the nginx-module-image-filter
nginx-module-njs - nginx njs dynamic modules
nginx-module-njs-dbg - debug symbols for the nginx-module-njs
nginx-module-perl - nginx Perl dynamic module
nginx-module-perl-dbg - debug symbols for the nginx-module-perl
nginx-module-xslt - nginx xslt dynamic module
nginx-module-xslt-dbg - debug symbols for the nginx-module-xslt
nginx-nr-agent - New Relic agent for NGINX and NGINX Plus
Debian/ubuntu official repos also have modules (and they are pretty much the same):
https://packages.debian.org/search?keywords=libnginx&searchon=names&suite=stable§ion=all
https://packages.ubuntu.com/search?keywords=libnginx&searchon=names&suite=bionic§ion=all
So we have 3 versions of path difference between rhel/debian (maybe load it in vars/{debian,redhat}?)
RHEL uses (both mainline and official repos? Can someone with centos/any other rhel confirm?)
/urs/share/nginx/modules
(Worth mentioning that current path specified in task will not work because of "urs" instead of "usr")
Debian:
/usr/share/nginx/modules-available/
And debian from nginx.org repo:
/usr/lib/nginx/modules
This one is tricky - it only installs .so files without configs to enable, so we need to generate configs manually.
Any ideas?
from ansible-role-nginx.
ahh ok, I can see the duplicate when statements which are generating this warning.
I have hopefully included a fix for this in PR #235 .
from ansible-role-nginx.
Related Issues (20)
- Add installation from sources HOT 1
- remove a site is not taken in consideration HOT 2
- Ansible error HOT 1
- Change nginx user HOT 4
- disable default config HOT 5
- Error in handlers/main.yml HOT 1
- issue when adding header parameter with ";" HOT 1
- Does this role need run as root? HOT 1
- amplify.api_key variable does not exist HOT 1
- add_header X-XSS-Protection is causing problems HOT 2
- Nginx didn't start on install
- v2.16 missing on https://galaxy.ansible.com/jdauphant/nginx HOT 1
- Allow for no default config to be generated HOT 3
- Configuring modules is currently limited to Centos/RHEL only HOT 1
- Missing mime.types file plus /etc/mime.types idea HOT 2
- Adhere to ansible-lint rules HOT 2
- Travis job is still on python 2.7 HOT 2
- Debian 12 (python3) support
- version > v2.21.2 are not avaiable via ansible-galaxy install command
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ansible-role-nginx.