athens/modules/pleroma/nginx.nix

18 lines
316 B
Nix
Raw Normal View History

2022-04-13 22:55:35 -04:00
{ config, lib, pkgs, ... }:
{
services.nginx = {
enable = true;
virtualHosts = {
"walkah.social" = {
forceSSL = true;
enableACME = true;
locations."/" = {
proxyPass = "http://100.111.208.75:4000";
2022-04-13 22:55:35 -04:00
proxyWebsockets = true;
};
};
};
};
}