Skip to content

Commit

Permalink
update caddy cfg
Browse files Browse the repository at this point in the history
  • Loading branch information
dairoot committed Oct 26, 2024
1 parent 77dfc16 commit a676041
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Caddyfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
@has_proto_header header X-Forwarded-Proto *
vars @has_proto_header hscheme {http.request.header.X-Forwarded-Proto}

handle_path /admin {
redir * /admin/ permanent
}

handle /admin/* {
uri strip_prefix /admin
Expand Down

0 comments on commit a676041

Please sign in to comment.