♻️ consolidate nix configs
This commit is contained in:
16
nix/modules/akkoma/nginx.nix
Normal file
16
nix/modules/akkoma/nginx.nix
Normal file
@ -0,0 +1,16 @@
|
||||
_:
|
||||
{
|
||||
services.nginx = {
|
||||
enable = true;
|
||||
virtualHosts = {
|
||||
"walkah.social" = {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
locations."/" = {
|
||||
proxyPass = "http://127.0.0.1:4000";
|
||||
proxyWebsockets = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user