ticket #81 attempt 1

This commit is contained in:
Typosaurus
2026-07-19 20:35:51 +00:00
parent 43c5a948e8
commit 7152db1fd2
22 changed files with 1156 additions and 0 deletions
+22
View File
@@ -209,3 +209,25 @@ server {
${NGINX_CACHE_CONFIG}
}
}
# DevTunnel reverse proxy - routes *.tunnel.devplace.net through SSH tunnels.
server {
listen 80;
listen [::]:80;
server_name ~^(?<tunnel_subdomain>[^.]+)\.tunnel\.devplace\.net$;
client_max_body_size ${NGINX_MAX_BODY_SIZE};
gzip on;
gzip_types text/plain text/css text/javascript application/javascript application/json image/svg+xml;
gzip_min_length 1000;
gzip_vary on;
gzip_proxied any;
include /etc/nginx/tunnel.d/*.conf;
location / {
return 502;
add_header Content-Type text/plain;
}
}