koi: restrict siyuan to lan
This commit is contained in:
parent
0155400fe3
commit
e18893c629
1 changed files with 4 additions and 0 deletions
|
@ -43,6 +43,10 @@ in {
|
|||
services.nginx.virtualHosts."siyuan.tei.su" = {
|
||||
forceSSL = true;
|
||||
useACMEHost = "tei.su";
|
||||
extraConfig = ''
|
||||
allow 10.0.0.0/8;
|
||||
deny all;
|
||||
'';
|
||||
|
||||
locations."/" = {
|
||||
proxyPass = "http://siyuan-teidesu-oidc.docker$request_uri";
|
||||
|
|
Loading…
Reference in a new issue