oren
(Oren)
1
my-website.com:443/admin {
root admin
gzip
log ./access.log
errors {
404 index.html
}
}
How to modify every URL that starts with /static/ to /admin/static? I assume it’s the rewrite directive but I am not sure how to use it.
Thanks!
abiosoft
(Abiola Ibrahim)
2
Add this to your Caddyfile.
rewrite /static {
to /admin/{uri}
}
2 Likes
system
(system)
Closed
4
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.