forked from mirrors_public/oddlama_nix-config
chore: remove oauth2 from influx and only allow internal peers
This commit is contained in:
parent
10abb7b03b
commit
5c354c8ec8
1 changed files with 0 additions and 3 deletions
|
@ -27,15 +27,12 @@ in {
|
||||||
};
|
};
|
||||||
virtualHosts.${influxdbDomain} = let
|
virtualHosts.${influxdbDomain} = let
|
||||||
accessRules = ''
|
accessRules = ''
|
||||||
satisfy any;
|
|
||||||
${lib.concatMapStrings (ip: "allow ${ip};\n") sentinelCfg.wireguard.proxy-sentinel.server.reservedAddresses}
|
${lib.concatMapStrings (ip: "allow ${ip};\n") sentinelCfg.wireguard.proxy-sentinel.server.reservedAddresses}
|
||||||
deny all;
|
deny all;
|
||||||
'';
|
'';
|
||||||
in {
|
in {
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
useACMEWildcardHost = true;
|
useACMEWildcardHost = true;
|
||||||
oauth2.enable = true;
|
|
||||||
oauth2.allowedGroups = ["access_influxdb"];
|
|
||||||
locations."/" = {
|
locations."/" = {
|
||||||
proxyPass = "http://influxdb";
|
proxyPass = "http://influxdb";
|
||||||
proxyWebsockets = true;
|
proxyWebsockets = true;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue