mirror of
https://github.com/Mic92/nixos-wiki-infra.git
synced 2024-11-26 10:14:14 +01:00
fix nginx + firewall
This commit is contained in:
parent
9163d9191f
commit
d2e73d80ff
@ -2,6 +2,7 @@
|
|||||||
flake.nixosModules = {
|
flake.nixosModules = {
|
||||||
hcloud.imports = [
|
hcloud.imports = [
|
||||||
inputs.srvos.nixosModules.server
|
inputs.srvos.nixosModules.server
|
||||||
|
inputs.srvos.nixosModules.mixins-nginx
|
||||||
inputs.sops-nix.nixosModules.sops
|
inputs.sops-nix.nixosModules.sops
|
||||||
inputs.srvos.nixosModules.hardware-hetzner-cloud
|
inputs.srvos.nixosModules.hardware-hetzner-cloud
|
||||||
./single-disk.nix
|
./single-disk.nix
|
||||||
|
@ -101,6 +101,7 @@
|
|||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
networking.firewall.allowedTCPPorts = [ 443 80 ];
|
||||||
security.acme.acceptTerms = true;
|
security.acme.acceptTerms = true;
|
||||||
services.nginx.virtualHosts.${config.services.mediawiki.nginx.hostName} = {
|
services.nginx.virtualHosts.${config.services.mediawiki.nginx.hostName} = {
|
||||||
enableACME = lib.mkDefault true;
|
enableACME = lib.mkDefault true;
|
||||||
|
Loading…
Reference in New Issue
Block a user