mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Replaced nginx native with openresty for logout injection. Right now still buggy on nextcloud and espocrm
This commit is contained in:
23
roles/svc-prx-openresty/README.md
Normal file
23
roles/svc-prx-openresty/README.md
Normal file
@@ -0,0 +1,23 @@
|
||||
# OpenResty
|
||||
|
||||
This role deploys an OpenResty container via Docker Compose, validates its configuration, and restarts it on changes.
|
||||
|
||||
## Description
|
||||
|
||||
- Runs an OpenResty container in host network mode
|
||||
- Mounts Nginx configuration and Let’s Encrypt directories
|
||||
- Validates the OpenResty (Nginx) configuration before any restart
|
||||
- Restarts the container only if the configuration is valid
|
||||
|
||||
## Overview
|
||||
|
||||
1. Loads the base Docker Compose setup
|
||||
2. Adds the OpenResty service
|
||||
3. Defines handlers to validate and restart the container
|
||||
4. Triggers a restart on configuration changes
|
||||
|
||||
## Further Reading
|
||||
|
||||
- [OpenResty Docker Hub](https://hub.docker.com/r/openresty/openresty)
|
||||
- [OpenResty Official Documentation](https://openresty.org/)
|
||||
- [Ansible Docker Compose Role on Galaxy](https://galaxy.ansible.com/)
|
Reference in New Issue
Block a user