17 lines
405 B
Markdown
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.
|