mirror of
				https://github.com/KevinMidboe/infra-map.git
				synced 2025-10-29 17:40:28 +00:00 
			
		
		
		
	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.
		
			
				
	
	
		
			10 lines
		
	
	
		
			200 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
		
			200 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
| import { sveltekit } from '@sveltejs/kit/vite';
 | |
| import { defineConfig } from 'vite';
 | |
| 
 | |
| export default defineConfig({
 | |
| 	plugins: [sveltekit()],
 | |
| 	server: {
 | |
| 		allowedHosts: ['host.docker.internal']
 | |
| 	}
 | |
| });
 |