website maybe
This commit is contained in:
parent
65139a31ac
commit
3e96b08562
5 changed files with 28 additions and 0 deletions
16
modules/website/default.nix
Normal file
16
modules/website/default.nix
Normal file
|
@ -0,0 +1,16 @@
|
|||
{ lib, config, pkgs, ... }: let
|
||||
inherit (lib) mkIf;
|
||||
inherit (config) conf;
|
||||
in mkIf conf.website.enable {
|
||||
services.nginx.virtualHosts = {
|
||||
"twoneis.site" = {
|
||||
servername = "twoneis.site";
|
||||
forceSSL = false;
|
||||
locations = {
|
||||
"/" = {
|
||||
return = "200 \"Faggot\"";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue