Files
homelab/nginx
2024-05-22 08:48:51 -04:00
..
2024-01-31 01:05:47 -05:00
2024-01-31 13:23:24 -05:00
2024-05-22 08:48:51 -04:00
2024-05-22 08:48:51 -04:00
2024-05-22 08:48:51 -04:00
2024-05-22 08:48:51 -04:00
2024-05-22 08:48:51 -04:00
2024-05-22 08:48:51 -04:00

Nginx Ansible Configuration

Installation

Check vars.yaml to edit your servers.

# 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.