Skip to content

Commit

Permalink
Redirect base URL to /skyaware978/ (#77)
Browse files Browse the repository at this point in the history
Update 91-skyaware978.conf to redirect base URL to /skyaware978/
  • Loading branch information
goofball222 authored Oct 17, 2023
1 parent 42d6f9f commit 279fc04
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion rootfs/etc/lighttpd/conf-enabled/91-skyaware978.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ alias.url += (
"/skyaware978/" => "/usr/share/dump978-fa/html/",
)

# redirect the slash-less URL
url.redirect += (
# redirect base URL to /skyaware978/
"^/$" => "/skyaware978/"
# redirect the slash-less /skyaware978 URL to /skyaware978/
"^/skyaware978$" => "/skyaware978/"
)

0 comments on commit 279fc04

Please sign in to comment.