https://github.com/ome/ansible-role-nginx
Install Nginx
https://github.com/ome/ansible-role-nginx
ansible nginx role
Last synced: 5 months ago
JSON representation
Install Nginx
- Host: GitHub
- URL: https://github.com/ome/ansible-role-nginx
- Owner: ome
- License: bsd-2-clause
- Created: 2017-01-06T16:22:06.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2024-03-20T10:43:03.000Z (about 2 years ago)
- Last Synced: 2025-10-29T00:40:59.942Z (7 months ago)
- Topics: ansible, nginx, role
- Language: Python
- Homepage: https://galaxy.ansible.com/ome/nginx/
- Size: 57.6 KB
- Stars: 0
- Watchers: 9
- Forks: 11
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
Nginx
=====
[](https://github.com/ome/ansible-role-nginx/actions)
[](https://galaxy.ansible.com/ui/standalone/roles/ome/nginx/)
Install upstream Nginx.
TODO: Add configuration options.
Role Variables
--------------
- `nginx_keep_default_configs`: If `true` keep the default site configuration files in `nginx/conf.d`, default `false` (disable them)
- `nginx_stable_repo`: If `false` use the mainline instead of stable repo, default `true`
- `nginx_version`: The packaged version of Nginx, optional, available versions depends on `nginx_stable_repo`. Not supported on Ubuntu.
- `nginx_systemd_setup`: Start/restart nginx using systemd, default `true`
, if you want to manage Nginx yourself set this to `false`
- `nginx_remove`: Remove Nginx, default is `false`
Log rotation:
- `nginx_logrotate_interval`: Rotate log files at this interval, default `daily`
- `nginx_logrotate_backlog_size`: Number of backlog files to keep, default `366`
Author Information
------------------
ome-devel@lists.openmicroscopy.org.uk