-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Your Name
committed
Jun 17, 2024
1 parent
10fb5d6
commit c319176
Showing
2 changed files
with
38 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
www.dev.freifunk.dev { | ||
redir https://dev.freifunk.dev{uri} | ||
} | ||
|
||
dev.freifunk.dev { | ||
root * /var/www/dev.freifunk.dev/www | ||
encode gzip | ||
|
||
redir /.well-known/* https://dev.freifunk.dev{uri} | ||
redir / https://dev.freifunk.dev/de/{uri} | ||
redir /index_en https://dev.freifunk.dev/en/{uri} | ||
redir /network https://dev.freifunk.dev/de/map/{uri} | ||
redir /contact https://dev.freifunk.dev/de/contact/ | ||
redir /contact_en https://dev.freifunk.dev/en/contact/{uri} | ||
redir /download https://dev.freifunk.dev/de/downloads/{uri} | ||
redir /participate/ https://dev.freifunk.dev/de/participate/{uri} | ||
redir /p$ https://dev.freifunk.dev/de/participate/{uri} | ||
redir /impressum https://dev.freifunk.dev/de/impressum/{uri} | ||
redir /wiki https://dev.freifunk.dev/de/wiki/{uri} | ||
redir /meshwiki https://dev.freifunk.dev/de/wiki/{uri} | ||
|
||
locale en de de-DE { | ||
detect header | ||
} | ||
|
||
redir { | ||
if {path} is / { | ||
if {Detected-Locale} is "de-DE" { | ||
/ /de/ 307 | ||
} else { | ||
/ /en/ 307 | ||
} | ||
} | ||
} | ||
|
||
file_server | ||
} |
Submodule lotusdocs
added at
f5785a