redirectionio.nginx_module
Ansible redirectionio-nginx_module 角色
redirection.io 是一个网站流量重定向管理工具。它为网站管理员、SEO代理机构和开发人员提供了一系列工具,帮助分析HTTP错误、设置HTTP重定向,并有效监控流量。
该角色安装 redirection.io 的nginx模块,支持Debian和基于RHEL的Linux发行版。
安装后,可以在nginx虚拟主机中使用 redirection.io 的nginx模块,具体使用方法可见 相关文档。
安装
只需运行以下命令:
ansible-galaxy install redirectionio.nginx_module
角色变量
默认情况下,该角色安装最新的稳定版本 libnginx-mod-redirectionio。可以通过以下角色变量修改此行为:
redirectionio_nginx_module_channel
(默认值:stable
):选择具体的发布通道(stable
或beta
)redirectionio_nginx_module_main_version
(默认值:2
):nginx模块的主版本。这可以安全地升级您的系统,而不会因为新的主版本而导致向后兼容性问题。redirectionio_nginx_module_version
(默认值:*
):nginx模块的具体版本。使用*
以获取最新可用版本。有效版本格式为:[时间戳]:[版本]-[构建],如果想要特定版本如2.0.0
,则应使用:2.0.0-
示例剧本
- hosts: webservers
roles:
- { role: redirectionio.nginx_module, become: true }
依赖
该角色没有依赖。
许可证
该角色根据MIT许可证条款提供。
关于项目
Install libnginx-mod-redirectionio. redirection.io is a versatile http redirection agent designed to help your SEO
安装
ansible-galaxy install redirectionio.nginx_module
许可证
mit
下载
139
拥有者
Log your website traffic, analyze it, and setup redirects and SEO improvements on the fly.