10 lines
263 B
Nix
10 lines
263 B
Nix
{ config, lib, pkgs, ... }:
|
|
{
|
|
services.proxy-suite.inbounds.subscriptions = {
|
|
enable = true;
|
|
baseUrl = "https://vpn.example.com/sub";
|
|
};
|
|
services.nginx.virtualHosts."vpn.example.com".locations."/sub/".alias =
|
|
"/run/proxy-suite-inbounds/subscriptions/";
|
|
}
|