diff options
author | Martin Ashby <martin@ashbysoft.com> | 2023-01-14 09:16:51 +0000 |
---|---|---|
committer | Martin Ashby <martin@ashbysoft.com> | 2023-01-14 09:16:51 +0000 |
commit | 19da0e7e8304f57df77fb4e3deb76fbcb8dbb296 (patch) | |
tree | d4bd9f7cb1508a1a7a84f90cfed2bf412c5cc736 /Caddyfile | |
parent | bbbaa94c1851483446bd23732ce7bd1e47796220 (diff) | |
download | mfashby.net-19da0e7e8304f57df77fb4e3deb76fbcb8dbb296.tar.gz mfashby.net-19da0e7e8304f57df77fb4e3deb76fbcb8dbb296.tar.bz2 mfashby.net-19da0e7e8304f57df77fb4e3deb76fbcb8dbb296.tar.xz mfashby.net-19da0e7e8304f57df77fb4e3deb76fbcb8dbb296.zip |
Move assets to assets subfolder
Avoids polluting root folder with many many files
Diffstat (limited to 'Caddyfile')
-rw-r--r-- | Caddyfile | 20 |
1 files changed, 20 insertions, 0 deletions
@@ -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 } |