mirror of
https://github.com/KevinMidboe/infra-map.git
synced 2025-10-29 17:40:28 +00:00
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:
@@ -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']
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user