Files
cas_cloud_admin/Caddyfile

20 lines
298 B
Caddyfile
Raw Normal View History

2023-06-09 17:30:58 +08:00
#{
# http_port 4163
# https_port 4173
#}
:4173 {
handle_path /api/* {
reverse_proxy 192.168.0.201:1618
}
handle {
root * "/Volumes/iMac Doc/WebstormProjects/cas_cloud_admin/dist"
file_server
try_files {path} /
}
}
#localhost:4173 {
# redir https://192.168.0.200:4173{uri}
#}