Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
NixOS
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Nicolas Lenz
NixOS
Commits
96b82778
Verified
Commit
96b82778
authored
3 weeks ago
by
Nicolas Lenz
Browse files
Options
Downloads
Patches
Plain Diff
feat(sapphire): add redirect for recipes domain
parent
3a0aec25
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
devices/sapphire.nix
+1
-1
1 addition, 1 deletion
devices/sapphire.nix
nixos/server/proxy.nix
+7
-1
7 additions, 1 deletion
nixos/server/proxy.nix
with
8 additions
and
2 deletions
devices/sapphire.nix
+
1
−
1
View file @
96b82778
...
...
@@ -74,7 +74,7 @@ Notes:
"*.pages"
# GitLab pages
"days"
"matrix"
"lists"
"diagrams"
"events"
"gallery"
"pad"
"mock"
"bytegeschichten"
"git"
"registry"
"cloud"
"flix"
"shelf"
"news"
"dashboard"
"literature"
"proxy"
"news"
"dashboard"
"literature"
"proxy"
"recipes"
"data"
"auth"
"gca4hpx"
"vault"
"nixcache"
"documents"
"notify"
"forum"
"lab"
# deprecated, kept for redirects
...
...
This diff is collapsed.
Click to expand it.
nixos/server/proxy.nix
+
7
−
1
View file @
96b82778
...
...
@@ -94,7 +94,7 @@
wouldn't know which domains to get certificates for.
*/
deprecated
=
{
rule
=
"Host(`lab.eisfunke.com`) || Host(`forum.eisfunke.com`)"
;
rule
=
"Host(`lab.eisfunke.com`) || Host(`forum.eisfunke.com`)
|| Host(`recipes.eisfunke.com`)
"
;
entrypoints
=
[
"websecure"
];
tls
.
certResolver
=
"tls"
;
service
=
"unavailable"
;
...
...
@@ -102,6 +102,7 @@
"forumRedirect@file"
"labFuProRedirect@file"
"labRedirect@file"
"recipesRedirect@file"
];
};
proxy-dashboard
=
{
...
...
@@ -176,6 +177,11 @@
regex
=
"^https://lab.eisfunke.com/.*"
;
replacement
=
"https://www.eisfunke.com/lab/index.html"
;
};
recipesRedirect
.
redirectRegex
=
{
permanent
=
true
;
regex
=
"^https://recipes.eisfunke.com/.*"
;
replacement
=
"https://www.eisfunke.com/recipes/index.html"
;
};
};
services
=
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment