Add the basics of some edge caching
This commit is contained in:
@ -9,8 +9,13 @@ access_log /var/log/nginx/gateway.log gateway;
|
||||
access_log /var/log/nginx/ips.log ips;
|
||||
|
||||
map $ssl_preread_server_name $gateway_destination {
|
||||
headscale.jakehoward.tech 127.0.0.1:8888;
|
||||
default {{ wireguard.clients.ingress.ip }}:8443;
|
||||
default {{ wireguard.clients.ingress.ip }}:8443;
|
||||
|
||||
headscale.jakehoward.tech 127.0.0.1:8888;
|
||||
|
||||
{% for domain in cdn_domains %}
|
||||
{{ domain }} 127.0.0.1:8800;
|
||||
{% endfor %}
|
||||
}
|
||||
|
||||
server {
|
||||
|
Reference in New Issue
Block a user