Run 'nix fmt' on whole repo
This commit is contained in:
@@ -1,23 +1,20 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
let
|
||||
{pkgs, ...}: let
|
||||
PROJECT_ROOT = "/workspace/deployed-nixos-server-and-apps/nixos-apps/fancyTypist.dev";
|
||||
HOST = "localhost";
|
||||
PORT = 12513;
|
||||
in
|
||||
{
|
||||
in {
|
||||
services.caddy = {
|
||||
enable = true;
|
||||
virtualHosts = {
|
||||
"fancytypist.com" = {
|
||||
serverAliases = [ "www.fancytypist.com" ];
|
||||
serverAliases = ["www.fancytypist.com"];
|
||||
extraConfig = ''
|
||||
respond "Hello, world! fancytypist.com"
|
||||
'';
|
||||
};
|
||||
|
||||
"fancytypist.ca" = {
|
||||
serverAliases = [ "www.fancytypist.ca" ];
|
||||
serverAliases = ["www.fancytypist.ca"];
|
||||
extraConfig = ''
|
||||
respond "Hello, world! fancytypist.ca"
|
||||
'';
|
||||
@@ -36,7 +33,7 @@ in
|
||||
};
|
||||
|
||||
"osds.fancytypist.dev" = {
|
||||
serverAliases = [ "osds.fancytypist.dev" ];
|
||||
serverAliases = ["osds.fancytypist.dev"];
|
||||
extraConfig = ''
|
||||
reverse_proxy ${HOST}:${toString PORT}
|
||||
'';
|
||||
|
||||
Reference in New Issue
Block a user