infra/roles/webservers/files/levi/https.rainrain.xyz.servconf

20 lines
312 B
Plaintext
Raw Normal View History

2024-10-14 22:16:04 -04:00
stream {
map $ssl_preread_server_name $name {
2024-10-15 00:33:58 -04:00
.rainrain.xyz rainrainxyz;
2024-10-14 22:16:04 -04:00
default proxy;
}
upstream rainrainxyz {
server tailscale.rain.internal.simponic.xyz:443;
}
upstream proxy {
server 127.0.0.1:4443;
}
server {
listen 443;
proxy_pass $name;
ssl_preread on;
}
}