Rename Caddyfile to https:/rythat.page.link/7U9bKHNQMXe9QQ1B7 Caddyfile

This commit is contained in:
specilnz 2022-03-02 08:57:12 +07:00 committed by GitHub
parent ec2cf03fad
commit c00974606f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,17 @@
localhost
root * src
file_server
templates
encode gzip
try_files {path}.html {path}
redir /docs/json /docs/json/
redir /docs/modules /docs/modules/
rewrite /docs/json/* /docs/json/index.html
rewrite /docs/modules/* /docs/modules/index.html
rewrite /docs/* /docs/index.html
reverse_proxy /api/* localhost:4444