Skip to content

Commit

Permalink
Add redirect for Agora
Browse files Browse the repository at this point in the history
  • Loading branch information
Tyil committed Jul 8, 2020
1 parent 04e31ce commit adbcc29
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .docker/lighttpd.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
server.modules += (
"mod_redirect",
)

url.redirect = (
"^/agora/dialogues/book-01-the-tragedy-of-open-hardware.html$" => "%{request.host}/agora/book-01-the-tragedy-of-open-hardware.html"
)
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
FROM tyil/http-static:latest
FROM registry.gitlab.com/tyil/docker-http-static:latest

COPY _site /var/www
COPY .docker/lighttpd.conf /etc/lighttpd/custom.d/lighttpd.conf

0 comments on commit adbcc29

Please sign in to comment.