:{$PORT} {
	root * /app/dist
	encode gzip

	handle /api/* {
		reverse_proxy https://juragankepiting-production.up.railway.app {
			header_up Host {upstream_host}
		}
	}

	handle {
		try_files {path} /index.html
		file_server
	}
}
