proxy through varnish

sets up varnish cache server with:
- custom cache per content type
- gzip
- configure app & hass backends
- varnish debug headers & X-Cache verbose cache header

also updates docker-compose, varnish/Dockerfile & drone.
This commit is contained in:
2025-08-21 23:41:26 +02:00
parent 8c79806318
commit 7d1f536af5
8 changed files with 294 additions and 9 deletions

View File

@@ -4,11 +4,6 @@ import { defineConfig } from 'vite';
export default defineConfig({
plugins: [sveltekit()],
server: {
proxy: {
'/proxmox': {
target: 'https://apollo.schleppe:8006/api2/json',
secure: false
}
}
allowedHosts: ['host.docker.internal']
}
});