dot_testing/boxes/netbox/paperless-bridge.nix

16 lines
385 B
Nix
Raw Normal View History

2024-11-13 22:00:07 -06:00
{ lib, config, pkgs, ... }:
{
services.nginx.virtualHosts."paperless.beepboop.systems" = {
forceSSL = true;
enableACME = true;
locations."/" = {
proxyPass = "http://10.100.0.2:6230";
extraConfig = ''
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $host;
proxy_buffering off;
'';
};
};
}