1
0
homelab/ansible/roles/nginx/defaults/main.yml
2025-06-23 18:26:15 +03:00

31 lines
645 B
YAML

---
nginx_settings:
server_tokens: false
gzip: true
ssl_protocols:
- TLSv1.2
- TLSv1.3
# load_balancers:
# http:
# - upstream:
# name: searxng
# servers:
# - 192.168.0.10:8888
# server:
# listen_port: 80
# names:
# - searxng.cuqmbr.xyz
# statements:
# - proxy_set_header Host $http_host
# statics:
# - root: /var/www/website
# index: index.html
# listen_port: 80
# names:
# - static.cuqmbr.xyz
# statements:
# - proxy_set_header Host $http_host
# TODO: Add https configuration