You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

23 lines
412 B

desk.local {
redir /ws /ws/
redir /desk /desk/
handle_path /images/* {
root * /code/desk2/server/images
file_server
}
handle /ws/* {
reverse_proxy 127.0.0.1:3003
}
handle /api/* {
reverse_proxy 127.0.0.1:3003
}
handle_path /desk/* {
root * /code/desk2/client
try_files {path} /index.html
file_server
}
}