Files
homelab/nginx/README.md
2024-05-22 08:48:51 -04:00

17 lines
405 B
Markdown

# Nginx Ansible Configuration
## Installation
Check vars.yaml to edit your servers.
```bash
# Run certbot first to ensure certs exist
ansible-playbook -i ansible/inventory.yaml nginx/certbot.yaml
ansible-playbook -i ansible/inventory.yaml nginx/nginx.yaml
```
## Restricted Addresses
We can detect whether traffic is originating internally or externally by checking if
it came in on port 443 or 444.