feat: open ports
This commit is contained in:
parent
2d4a4dfe4c
commit
a7c9143907
1 changed files with 2 additions and 0 deletions
|
|
@ -5,6 +5,7 @@
|
||||||
}: {
|
}: {
|
||||||
# This is only a temporary password and will be changed
|
# This is only a temporary password and will be changed
|
||||||
environment.etc."nextcloud-admin-pass".text = "samcsamc11";
|
environment.etc."nextcloud-admin-pass".text = "samcsamc11";
|
||||||
|
networking.firewall.allowedTCPPorts = [80 443];
|
||||||
services.nextcloud = {
|
services.nextcloud = {
|
||||||
enable = true;
|
enable = true;
|
||||||
hostName = "sprechtl.ddns.net";
|
hostName = "sprechtl.ddns.net";
|
||||||
|
|
@ -28,6 +29,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
services.nginx = {
|
services.nginx = {
|
||||||
|
enable = true;
|
||||||
virtualHosts.${config.services.nextcloud.hostName} = {
|
virtualHosts.${config.services.nextcloud.hostName} = {
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue