nya
This commit is contained in:
parent
78fe1d414a
commit
955ff73581
|
@ -56,6 +56,11 @@ in {
|
||||||
enable = true;
|
enable = true;
|
||||||
recommendedProxySettings = true;
|
recommendedProxySettings = true;
|
||||||
recommendedTlsSettings = true;
|
recommendedTlsSettings = true;
|
||||||
|
virtualHosts."84.247.186.214" = {
|
||||||
|
addSSL = true;
|
||||||
|
enableACME = true;
|
||||||
|
root = inputs.vulpecula-zone.packages.x86_64-linux.default;
|
||||||
|
};
|
||||||
virtualHosts."vulpecula.zone" = {
|
virtualHosts."vulpecula.zone" = {
|
||||||
addSSL = true;
|
addSSL = true;
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
|
|
|
@ -13,13 +13,13 @@
|
||||||
system-binfmt-x86_64-enable = false; # enables emulation of x86_64 binaries, default is false
|
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
|
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
|
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 = true; # whether to enable authentication using a basic username/password
|
||||||
auth-basic-username = "admin"; # username for basic authentication
|
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
|
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
|
# 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-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-enable = false; # whether to enable the Nginx virtual host
|
||||||
nginx-vhost-name = "wallabag.vulpecula.zone"; # name of 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
|
# Configure the Nginx virtual host
|
||||||
services.nginx = {
|
services.nginx = {
|
||||||
virtualHosts."wallabag.vulpecula.zone" = {
|
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;
|
enableACME = true;
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue