Created
April 30, 2025 16:41
-
-
Save Edit-Mr/8e6d321b04e2f1790157a7e5895164d9 to your computer and use it in GitHub Desktop.
Caddyfile with redirect and strip_prefix
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:80 { | |
@website path /2025* | |
handle @website { | |
uri strip_prefix /2025 | |
reverse_proxy website.zeabur.internal:8080 | |
} | |
redir / /2025 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment