mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 15:00:13 +01:00
feat: adds proxy for sharkey
This commit is contained in:
parent
f368354614
commit
3f20418fa5
1 changed files with 12 additions and 0 deletions
12
modules/services/sharkey-proxy.nix
Normal file
12
modules/services/sharkey-proxy.nix
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
{ lib, config, pkgs, ... }:
|
||||
{
|
||||
services = {
|
||||
nginx.virtualHosts."quack.social" = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
locations."/" = {
|
||||
proxyPass = "http://localhost:3000";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue