traefik domain redirects
This commit is contained in:
@ -3,7 +3,7 @@
|
||||
enable = true;
|
||||
settings = {
|
||||
WASTEBIN_TITLE = "m3tam3re's wastebin";
|
||||
WASTEBIN_BASE_URL = "https://bin.m3tam3re.com";
|
||||
WASTEBIN_BASE_URL = "https://bin.m3ta.dev";
|
||||
WASTEBIN_ADDRESS_PORT = "0.0.0.0:3003";
|
||||
WASTEBIN_MAX_BODY_SIZE = 1048576;
|
||||
};
|
||||
@ -17,12 +17,21 @@
|
||||
];
|
||||
|
||||
routers.wastebin = {
|
||||
rule = "Host(`bin.m3tam3re.com`)";
|
||||
rule = "Host(`bin.m3ta.dev`)";
|
||||
tls = {
|
||||
certResolver = "godaddy";
|
||||
};
|
||||
service = "wastebin";
|
||||
entrypoints = "websecure";
|
||||
};
|
||||
routers.wastebin-old = {
|
||||
rule = "Host(`bin.m3tam3re.com`)";
|
||||
tls = {
|
||||
certResolver = "godaddy";
|
||||
};
|
||||
service = "wastebin";
|
||||
entrypoints = "websecure";
|
||||
middlewares = ["subdomain-redirect"];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user