add infra

This commit is contained in:
2025-01-19 18:38:00 +01:00
parent 0d3d5696b1
commit b089a9bbfb

View File

@@ -31,6 +31,17 @@ http {
# (We do a separate server block for clarity. Could be done with if/host checks.)
}
server {
listen 80;
server_name ~^(?<subdomain>.+)\.infra\.mrcynic\.site$;
location / {
proxy_pass http://external_ingress;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
}
}
# dev.mrcynic.site - allow only LAN
server {
listen 80;
@@ -46,15 +57,4 @@ http {
proxy_set_header X-Real-IP $remote_addr;
}
}
server {
listen 80;
server_name ~^(?<subdomain>.+)\.mrcynic\.site$;
location / {
proxy_pass http://external_ingress;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
}
}
}