Skip to content

Commit

Permalink
nginx module restructure
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnRTitor committed Nov 3, 2024
1 parent eb42fd1 commit 913388c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 4 additions & 1 deletion dev-environment/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,13 @@
]
++ lib.optionals servicesSettings.adb [./adb-toolchain.nix]
++ lib.optionals servicesSettings.nginx [
./nginx.nix
./localhost-website.nix
./adminer.nix
./mysql.nix
];

services.nginx.enable = servicesSettings.nginx;
services.nginx.package = pkgs.nginxQuic;

programs.java.enable = true;
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
userSettings,
...
}: {
services.nginx.enable = true;

# Nginx virtual host configuration for localhost
services.nginx.virtualHosts."localhost" = {
root = "/var/www/localhost-server";
Expand Down

0 comments on commit 913388c

Please sign in to comment.