20 lines
433 B
Nix
20 lines
433 B
Nix
# Configuration for the catacomb forwarder
|
|
|
|
{ config, pkgs, ... }:
|
|
|
|
{
|
|
# Configure nginx to forward to the server on catacomb
|
|
services.nginx.virtualHosts."catacomb.alogoulogoi.com" = {
|
|
enableACME = true;
|
|
forceSSL = true;
|
|
extraConfig = ''
|
|
access_log /var/log/nginx/access.catacomb.log;
|
|
'';
|
|
locations."/".extraConfig = ''
|
|
proxy_buffering off;
|
|
proxy_pass http://10.7.3.16:7473/;
|
|
'';
|
|
};
|
|
}
|
|
|