mirror of
https://github.com/TheWanderingCrow/CrOS.git
synced 2026-01-11 09:44:08 -05:00
lock down llm usage
This commit is contained in:
parent
72c17ae18e
commit
c721d2e8f1
1 changed files with 7 additions and 2 deletions
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
nginx = {
|
||||
{inputs, ...}: {
|
||||
services.nginx = {
|
||||
enable = true;
|
||||
recommendedProxySettings = true;
|
||||
virtualHosts = {
|
||||
|
|
@ -7,6 +7,11 @@
|
|||
forceSSL = true;
|
||||
useACMEHost = "chat.wanderingcrow.net";
|
||||
locations."/" = {
|
||||
extraConfig = ''
|
||||
allow 192.168.0.0/16;
|
||||
allow ${inputs.nix-secrets.network.primary.publicIP};
|
||||
deny all;
|
||||
'';
|
||||
proxyPass = "http://192.168.0.72:3000";
|
||||
proxyWebsockets = true;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue