nginx: fix up
This commit is contained in:
parent
ccf0c29d09
commit
412845802b
1 changed files with 3 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Reference in a new issue