trucksimulator: shorten urls

This commit is contained in:
Rouven Seifert 2024-03-09 13:26:49 +01:00
parent b97675b246
commit 7bad85eb1f
Signed by: rouven.seifert
GPG key ID: B95E8FE6B11C4D09
2 changed files with 14 additions and 17 deletions

View file

@ -1,6 +1,6 @@
{ config, pkgs, trucksimulatorbot, ... }:
let
domain = "trucksimulatorbot.${config.networking.domain}";
domain = "trucks.${config.networking.domain}";
in
{
services.trucksimulatorbot = {
@ -24,7 +24,7 @@ in
ensureDatabases = [ "trucksimulator" ];
};
services.nginx.virtualHosts = {
"images.${domain}" = {
"img.${domain}" = {
enableACME = true;
forceSSL = true;
locations."/" = {