2023-12-15 15:20:15 +11:00
|
|
|
server {
|
|
|
|
listen 8001 default_server;
|
2023-12-15 15:22:11 +11:00
|
|
|
server_name doh.hnshosting.au;
|
2023-12-15 15:20:15 +11:00
|
|
|
location / {
|
|
|
|
proxy_pass https://doh.hnshosting.au;
|
|
|
|
proxy_set_header Host doh.hnshosting.au;
|
|
|
|
}
|
2023-12-15 14:29:49 +11:00
|
|
|
}
|
|
|
|
|
|
|
|
server {
|
2023-12-15 15:20:15 +11:00
|
|
|
listen 8002 default_server;
|
2023-12-15 15:22:11 +11:00
|
|
|
server_name easyhandshake.com;
|
2023-12-15 15:20:15 +11:00
|
|
|
location / {
|
|
|
|
proxy_pass https://easyhandshake.com:8053;
|
|
|
|
proxy_set_header Host easyhandshake.com;
|
|
|
|
}
|
|
|
|
}
|
2023-12-15 15:14:07 +11:00
|
|
|
|
2023-12-15 15:20:15 +11:00
|
|
|
server {
|
|
|
|
listen 8003 default_server;
|
2023-12-15 15:22:11 +11:00
|
|
|
server_name doh.hnsdns.com;
|
2023-12-15 15:20:15 +11:00
|
|
|
location / {
|
|
|
|
proxy_pass https://doh.hnsdns.com;
|
|
|
|
proxy_set_header Host doh.hnsdns.com;
|
|
|
|
}
|
|
|
|
}
|
2023-12-15 15:16:42 +11:00
|
|
|
|
2023-12-15 15:20:15 +11:00
|
|
|
upstream main {
|
|
|
|
server 127.0.0.1:8001;
|
|
|
|
server 127.0.0.1:8002;
|
|
|
|
server 127.0.0.1:8003;
|
|
|
|
}
|
2023-12-15 15:15:24 +11:00
|
|
|
|
2023-12-15 15:20:15 +11:00
|
|
|
server {
|
|
|
|
listen 80;
|
|
|
|
server_name _;
|
|
|
|
location / {
|
2023-12-15 15:22:11 +11:00
|
|
|
proxy_pass https://main;
|
2023-12-15 15:20:15 +11:00
|
|
|
}
|
2023-12-15 14:29:49 +11:00
|
|
|
}
|