mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 23:00:14 +01:00
feat: adds gokapi proxy
This commit is contained in:
parent
95cf93eb48
commit
fe29c7d368
1 changed files with 11 additions and 0 deletions
11
modules/services/gokapi.nix
Normal file
11
modules/services/gokapi.nix
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
{ lib, config, pkgs, ... }: {
|
||||||
|
services = {
|
||||||
|
nginx.virtualHosts."share.liv.town" = {
|
||||||
|
useACMEHost = "liv.town";
|
||||||
|
forceSSL = true;
|
||||||
|
locations."/" = {
|
||||||
|
proxyPass = "http://localhost:53842";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue