myServices.monitoring.enable = true;
myServices.certificates.enable = true;
+ security.acme.certs."${name}-immae" = config.myServices.certificates.certConfig // {
+ user = "immae";
+ domain = "dilion.immae.eu";
+ };
security.acme.certs."${name}" = {
user = config.services.nginx.user;
group = config.services.nginx.group;
-{ config, lib, ... }:
+{ config, lib, pkgs, ... }:
let
cfg = config.myServices.websites.tools.im;
in
root = ./www;
extraConfig = [
''
+ Alias /glowing-bear ${pkgs.glowing-bear}
Alias /converse ${./www}/converse.html
ProxyPreserveHost On
<Location "/bosh">
ProxyPassReverse /admin http://localhost:5280/admin
ProxyPass /api http://localhost:5280/api
ProxyPassReverse /api http://localhost:5280/api
+ <Directory ${pkgs.glowing-bear}>
+ AllowOverride none
+ Require all granted
+ </Directory>
''
];
};