From 19da0e7e8304f57df77fb4e3deb76fbcb8dbb296 Mon Sep 17 00:00:00 2001 From: Martin Ashby Date: Sat, 14 Jan 2023 09:16:51 +0000 Subject: Move assets to assets subfolder Avoids polluting root folder with many many files --- Caddyfile | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'Caddyfile') diff --git a/Caddyfile b/Caddyfile index cef71f9..7287822 100644 --- a/Caddyfile +++ b/Caddyfile @@ -1,6 +1,26 @@ http://localhost:8080 { root * public + + # API server reverse_proxy /api/* localhost:5678 + + # Redirects for old assets + redir /10-11-21-longboard-slides.mp4 /assets/10-11-21-longboard-slides.mp4 permanent + redir /apex_1.jpg /assets/apex_1.jpg permanent + redir /apex_2.jpg /assets/apex_2.jpg permanent + redir /bike.jpg /assets/bike.jpg permanent + redir /drop-in.mp4 /assets/drop-in.mp4 permanent + redir /longboard.jpg /assets/longboard.jpg permanent + redir /mailu_screenshot.png /assets/mailu_screenshot.png permanent + redir /reprap.jpg /assets/reprap.jpg permanent + redir /skate4.mp4 /assets/skate4.mp4 permanent + redir /skateboard.jpg /assets/skateboard.jpg permanent + redir /unicorn1.jpg /assets/unicorn1.jpg permanent + redir /unicorn2.jpg /assets/unicorn2.jpg permanent + redir /unicorn3.jpg /assets/unicorn3.jpg permanent + redir /unicorn.gif /assets/unicorn.gif permanent + redir /unicorn_small.gif /assets/unicorn_small.gif permanent + file_server } -- cgit v1.2.3-ZIG