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.

24 lines
422 B

http://192.168.100.2 {
2 years ago
redir /ws /ws/
redir /desk /desk/
2 years ago
handle_path /images/* {
root * /code/desk2/server/images
file_server
}
2 years ago
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
}
}