feat(nixos/nginx): add pages option to nginx module

This commit is contained in:
Mohammad Rafiq 2025-06-22 19:28:55 +08:00
parent b3a5441e8b
commit 5f7cfd5d24
No known key found for this signature in database
3 changed files with 49 additions and 1 deletions

View file

@ -42,6 +42,12 @@
enableSSL = true;
nginx = {
enable = true;
pages = [
{
domain = "rrv.sh";
root = ./root;
}
];
proxies = [
{
source = "aenyrathia.wiki";

View file

@ -0,0 +1,9 @@
<html>
<head>
<meta charset="utf-8">
<title>rrv.sh</title>
</head>
<body>
<h1>TEST</h1>
</body>
</html>