aboutsummaryrefslogtreecommitdiff
path: root/Caddyfile
diff options
context:
space:
mode:
Diffstat (limited to 'Caddyfile')
-rw-r--r--Caddyfile20
1 files changed, 20 insertions, 0 deletions
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
}