mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 23:08:06 +02:00
- Renamed role `srv-tls-core` → `sys-svc-certs` - Renamed role `srv-https-stack` → `sys-stk-front-pure` - Renamed role `sys-stk-front` → `sys-stk-front-proxy` - Updated all includes, READMEs, meta, and dependent roles accordingly This improves clarity and consistency of naming conventions for certificate management and proxy orchestration. See: https://chatgpt.com/share/68b19f2c-22b0-800f-ba9b-3f2c8fd427b0
16 lines
754 B
Markdown
16 lines
754 B
Markdown
# Nginx Redirect Role
|
|
|
|
This Ansible role configures Nginx to perform 301 redirects from one domain to another. It handles SSL certificate retrieval for the source domains and sets up the Nginx configuration to redirect to the specified target domains.
|
|
|
|
## Role Variables
|
|
|
|
- `domain_mappings`: A list of objects with `source` and `target` properties specifying the domains to redirect from and to.
|
|
- `users.administrator.email`: The email used for SSL certificate registration with Let's Encrypt.
|
|
|
|
## Dependencies
|
|
|
|
- `sys-stk-front-pure`: A role for setting up HTTPS for Nginx
|
|
- `letsencrypt`: A role for managing SSL certificates with Let's Encrypt
|
|
|
|
## Author Information
|
|
This role was created in 2023 by [Kevin Veen-Birkenbach](https://www.veen.world/). |