Skip to content
Snippets Groups Projects
Verified Commit 417976fc authored by Nicolas Lenz's avatar Nicolas Lenz :snowflake:
Browse files

feat: wip

parent 219a18b3
Branches private-notes
No related tags found
No related merge requests found
...@@ -423,6 +423,15 @@ See: ...@@ -423,6 +423,15 @@ See:
# serve from notes instead of main website # serve from notes instead of main website
middlewares = [ "redirect-notes-index" "replace-notes" ]; middlewares = [ "redirect-notes-index" "replace-notes" ];
}; };
pagesEisfunkeNotesPrivate = {
rule = "Host(`www.eisfunke.com`) && (Path(`/notes/private`) || PathPrefix(`/notes/private/`))";
priority = 3001; # must be higher priority than the main pagesEisfunkeNotes router
entrypoints = [ "websecure" ];
tls.certResolver = "tls";
service = "pagesCustom";
# serve from notes instead of main website
middlewares = [ "auth-dashboard" "replace-notes" ];
};
# blackhole the original GitLab pages notes domain to ensure only the actual domain is used # blackhole the original GitLab pages notes domain to ensure only the actual domain is used
pagesEisfunkeNotesBlackhole = { pagesEisfunkeNotesBlackhole = {
rule = "Host(`notes-8efb78.pages.eisfunke.com`)"; rule = "Host(`notes-8efb78.pages.eisfunke.com`)";
......
...@@ -36,6 +36,7 @@ ...@@ -36,6 +36,7 @@
}; };
log.level = "INFO"; log.level = "INFO";
accessLog.filters.statusCodes = [ "400-599" ];
metrics.prometheus = { metrics.prometheus = {
entryPoint = "metrics"; entryPoint = "metrics";
addEntryPointsLabels = true; addEntryPointsLabels = true;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment