This commit is contained in:
Tasia Iso 2024-10-13 17:02:02 +02:00
parent 78fe1d414a
commit 955ff73581
Signed by: tasiaiso
SSH key fingerprint: SHA256:KiRjUay5C9i6objsEOIycygBHn54pDBB3Lj7fyJ0Elw
2 changed files with 9 additions and 3 deletions

View file

@ -56,6 +56,11 @@ in {
enable = true;
recommendedProxySettings = true;
recommendedTlsSettings = true;
virtualHosts."84.247.186.214" = {
addSSL = true;
enableACME = true;
root = inputs.vulpecula-zone.packages.x86_64-linux.default;
};
virtualHosts."vulpecula.zone" = {
addSSL = true;
enableACME = true;

View file

@ -13,13 +13,13 @@
system-binfmt-x86_64-enable = false; # enables emulation of x86_64 binaries, default is false
repo-path = "/var/lib/thymis/repository"; # directory where the controller will store the repository holding the project
database-url = "sqlite:////var/lib/thymis/thymis.sqlite"; # URL of the database
base-url = "https://thymis.vulpecula.zone/"; # base URL of the controller, how it will be accessed from the outside
base-url = "https://wallabag.vulpecula.zone/"; # base URL of the controller, how it will be accessed from the outside
auth-basic = true; # whether to enable authentication using a basic username/password
auth-basic-username = "admin"; # username for basic authentication
auth-basic-password-file = "/var/lib/thymis/auth-basic-password"; # file containing the password for basic authentication
# content will be automatically generated if it does not exist
listen-host = "127.0.0.1"; # host on which the controller listens for incoming connections
listen-port = 8000; # port on which the controller listens for incoming connections
listen-port = 62105; # port on which the controller listens for incoming connections
nginx-vhost-enable = false; # whether to enable the Nginx virtual host
nginx-vhost-name = "wallabag.vulpecula.zone"; # name of the Nginx virtual host
};
@ -27,7 +27,8 @@
# Configure the Nginx virtual host
services.nginx = {
virtualHosts."wallabag.vulpecula.zone" = {
serverName = "wallabag.vulpecula.zone";
# serverName = "wallabag.vulpecula.zone";
locations."/".proxyPass = "http://localhost:${toString config.services.thymis-controller.listen-port}";
enableACME = true;
forceSSL = true;
};