fix: ai compose tailscale dns

This commit is contained in:
2025-11-28 08:21:23 +01:00
parent f4dd7c7d9d
commit 6d0a15a969
2 changed files with 10 additions and 15 deletions

View File

@@ -32,21 +32,6 @@ http {
# Increase client body size for image uploads
client_max_body_size 100M;
# Audio files - fix Content-Type for browser playback
location ~ \.wav$ {
proxy_pass http://${GPU_SERVICE_HOST}:${GPU_SERVICE_PORT};
proxy_hide_header Content-Type;
add_header Content-Type "audio/wav";
proxy_hide_header Content-Disposition;
}
location ~ \.mp3$ {
proxy_pass http://${GPU_SERVICE_HOST}:${GPU_SERVICE_PORT};
proxy_hide_header Content-Type;
add_header Content-Type "audio/mpeg";
proxy_hide_header Content-Disposition;
}
location / {
# Proxy to service on RunPod via Tailscale
proxy_pass http://${GPU_SERVICE_HOST}:${GPU_SERVICE_PORT};