mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2025-04-25 16:08:30 +02:00
trucksimulator: shorten urls
This commit is contained in:
parent
b97675b246
commit
7bad85eb1f
2 changed files with 14 additions and 17 deletions
|
@ -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."/" = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue