diff options
author | stuebinm | 2024-01-13 00:35:13 +0100 |
---|---|---|
committer | stuebinm | 2024-01-13 00:35:13 +0100 |
commit | b2fc20fe8080e4c083b08354afdce287a91de0b7 (patch) | |
tree | 9cd539dd9b2f11515d8bc36ff86fb81256ba9d92 /flora/services | |
parent | 3c752004c4a49319aa93eb586e77b563811a1217 (diff) |
nomsable webring
(just messing around for now)
Diffstat (limited to 'flora/services')
-rw-r--r-- | flora/services/nginx.nix | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/flora/services/nginx.nix b/flora/services/nginx.nix index 7c792ba..1d95255 100644 --- a/flora/services/nginx.nix +++ b/flora/services/nginx.nix @@ -20,5 +20,16 @@ forceSSL = true; locations."/".root = ../../pkgs/nomsing; }; + virtualHosts."webring.noms.ing" = { + enableACME = true; + forceSSL = true; + locations."~ (.*)".extraConfig = '' + fastcgi_pass unix:${config.services.fcgiwrap.socketAddress}; + include ${pkgs.nginx}/conf/fastcgi_params; + fastcgi_param SCRIPT_FILENAME ${lib.getExe pkgs.nomsring}; + fastcgi_param PATH_INFO $1; + ''; + }; }; + services.fcgiwrap.enable = true; } |