mirror of
https://github.com/anotherhadi/nixy.git
synced 2026-04-04 03:52:10 +02:00
update/format configuration for jack
Signed-off-by: Hadi <112569860+anotherhadi@users.noreply.github.com>
This commit is contained in:
@@ -1,15 +1,16 @@
|
||||
{ config, ... }:
|
||||
let domain = "search-nixos-api.hadi.diy";
|
||||
# Custom NixOS module for the Search NixOS API service
|
||||
# Check https://search-nixos.hadi.diy
|
||||
{config, ...}: let
|
||||
domain = "search-nixos-api.hadi.diy";
|
||||
in {
|
||||
services = {
|
||||
search-nixos-api = { enable = true; };
|
||||
search-nixos-api = {enable = true;};
|
||||
|
||||
nginx.virtualHosts."${domain}" = {
|
||||
useACMEHost = "hadi.diy";
|
||||
forceSSL = true;
|
||||
locations."/" = {
|
||||
proxyPass =
|
||||
"http://127.0.0.1:${toString config.services.search-nixos-api.port}/";
|
||||
proxyPass = "http://127.0.0.1:${toString config.services.search-nixos-api.port}/";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user