nginx: fix up

This commit is contained in:
Vivian 2021-10-19 02:02:35 +02:00
parent eeedacfa9e
commit 95d1522bcc

View file

@ -13,7 +13,7 @@
]; ];
networking.hostName = "vault"; networking.hostName = "nginx";
# This value determines the NixOS release from which the default # This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions # settings for stateful data, like file locations and database versions
@ -26,6 +26,8 @@
# Additional packages # Additional packages
environment.systemPackages = with pkgs; []; environment.systemPackages = with pkgs; [];
networking.firewall.allowedTCPPorts = [ 80 443 ];
services.nginx = { services.nginx = {
enable = true; enable = true;
recommendedProxySettings = true; recommendedProxySettings = true;