Skip to content

Commit

Permalink
Uncomment SSL for obsidian
Browse files Browse the repository at this point in the history
  • Loading branch information
pniedzwiedzinski committed Oct 17, 2024
1 parent 696ab47 commit 63df6f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
7 changes: 0 additions & 7 deletions machines/t14/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
[ # Include the results of the hardware scan.
../base.nix
../../modules/media-drive.nix
../../modules/obsidian-livesync.nix
../x220-gnome/pass.nix
./hardware-configuration.nix
../x220-gnome/pn.nix
Expand All @@ -14,12 +13,6 @@
networking.networkmanager.enable = true;
networking.hostName = "t14";

services.obsidian-livesync = {
enable = true;
domain = "test.localhost";
couchdb.adminPass = "123";
};

# Set your time zone.
time.timeZone = "Europe/Warsaw";

Expand Down
4 changes: 2 additions & 2 deletions modules/obsidian-livesync.nix
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ in
services.nginx = {
enable = true;
virtualHosts.${cfg.domain} = {
# enableACME = true;
# forceSSL = true;
enableACME = true;
forceSSL = true;
locations."/" = {
proxyPass = "http://127.0.0.1:${toString couchdb-port}";
extraConfig = ''
Expand Down

0 comments on commit 63df6f7

Please sign in to comment.