fix fqdn
This commit is contained in:
parent
219482c2f3
commit
5807b563a1
5 changed files with 4 additions and 4 deletions
|
|
@ -4,7 +4,7 @@
|
|||
services.hedgedoc = {
|
||||
enable = true;
|
||||
settings = {
|
||||
domain = "${config.networking.hostName}.${config.networking.domain}";
|
||||
domain = "${config.networking.fqdn}";
|
||||
#environmentFile = config.age.secrets.hedgedoc_settings.path;
|
||||
protocolUseSSL = true;
|
||||
db = {
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ let
|
|||
cfg = config.services.hedgedoc.settings;
|
||||
in
|
||||
{
|
||||
nginx.virtualHosts."${fqdn}" = {
|
||||
nginx.virtualHosts."${config.networking.fqdn}" = {
|
||||
default = true;
|
||||
quic = true;
|
||||
kTLS = true;
|
||||
|
|
|
|||
|
|
@ -4,9 +4,9 @@
|
|||
imports = [
|
||||
../common.nix
|
||||
../../services/openssh.nix
|
||||
./openssh.nix
|
||||
../../services/nginx.nix
|
||||
./nginx.nix
|
||||
./ssh.nix
|
||||
];
|
||||
|
||||
networking = {
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ let
|
|||
# TODO: mkVHost
|
||||
in
|
||||
{
|
||||
services.nginx.virtualHosts."${config.networking.hostName}.${config.networking.domain}" = {
|
||||
services.nginx.virtualHosts."${config.networking.fqdn}" = {
|
||||
default = true;
|
||||
serverAliases = [config.networking.domain];
|
||||
quic = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue