feat: add openapi design doc
This commit is contained in:
parent
bffe41a012
commit
02ed6be314
4 changed files with 187 additions and 0 deletions
15
Caddyfile
Normal file
15
Caddyfile
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
http://localhost
|
||||
|
||||
route /api/v1/* {
|
||||
uri strip_prefix /api/v1
|
||||
reverse_proxy app
|
||||
}
|
||||
|
||||
route /docs/* {
|
||||
uri strip_prefix /docs
|
||||
file_server {
|
||||
root /usr/share/caddy/www/design
|
||||
index index.html
|
||||
browse true
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue