iquzart.traefik
Traefik Reverse Proxy
This is an Ansible role for setting up the Traefik Reverse Proxy in a container.
Features
- Basic Authentication
- HTTPS Redirection
- IP Whitelist
- Letsencrypt support
- TLS versions 1.2 and 1.3
- Access logs saved to a file
Role Variables
| Variable Name | Description | Default |
|---|---|---|
| traefik_version | Version of the Traefik container | v2.2.1 |
| traefik_install_dir | Directory for Traefik configuration | /opt/containers/traefik |
| traefik_domain_name | Domain name for the Traefik UI | example.com |
| traefik_log_level | Logging level for Traefik | WARN |
| traefik_check_new_version | Check for new Traefik version | false |
| traefik_send_anonymous_usage | Send anonymous usage data | false |
| traefik_api_dashboard | Enable or disable Traefik UI | true |
| traefik_auth | Basic Auth credentials (hashed password) | **** |
| traefik_ip_white_list | Allowed IP addresses | 127.0.0.1/32 |
Example Playbook
- hosts: servers
roles:
- { role: iquzart.traefik }
License
MIT License
Author Information
Muhammed Iqbal iquzart@hotmail.com
Installa
ansible-galaxy install iquzart.traefikLicenza
Unknown
Download
2.9k
Proprietario
Open Source Enthusiast
