hns_doh_loadbalancer/nginx.conf

21 lines
558 B
Nginx Configuration File
Raw Normal View History

2023-12-15 14:29:49 +11:00
upstream loadbalancer {
server doh.hnshosting.au:443 weight=1;
server easyhandshake.com:8053 weight=1;
server doh.hnsdns.com:443 weight=1;
server hs.dnssec.dev:443 weight=1;
server hnsns.net:443 weight=1;
}
server {
listen 80;
server_name your_domain.com;
location / {
proxy_pass http://loadbalancer;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
}