{
    http_port 4163
    https_port 4173
}

192.168.1.200:4173 {
	handle_path /api/* {
		reverse_proxy 192.168.1.201:8080
	}
	handle_path /preview* {
    		reverse_proxy localhost:80
    }
	handle {
		root * /Users/ailanyin/projects/qiaoba-vue3/dist
		file_server
		try_files {path} /
	}
}
localhost:4173 {
    redir https://192.168.1.200:4173{uri}
}
