diff options
author | makefu <github@syntax-fehler.de> | 2020-09-13 13:56:58 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2020-09-13 13:56:58 +0200 |
commit | 306653db954b41759fccfbd8b9d42ff712fe64f0 (patch) | |
tree | 229ad8280ef726a1b14653646d7cf2c9d201d341 /krebs/2configs/shack/node-light.nix | |
parent | 341d11575de0c8731e5ad474f95bd146a9c63267 (diff) |
wolf.r: more relevant nginx data
Diffstat (limited to 'krebs/2configs/shack/node-light.nix')
-rw-r--r-- | krebs/2configs/shack/node-light.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/krebs/2configs/shack/node-light.nix b/krebs/2configs/shack/node-light.nix index b471f2af5..4a981ea87 100644 --- a/krebs/2configs/shack/node-light.nix +++ b/krebs/2configs/shack/node-light.nix @@ -28,6 +28,9 @@ in { }; services.nginx.virtualHosts."openhab.shack" = { + extraConfig = '' + access_log syslog:server=unix:/dev/log combined if=$loggable; + ''; serverAliases = [ "lightapi.shack" ]; locations."/power/".proxyPass = "http://localhost:${port}/power/"; locations."/lounge/".proxyPass = "http://localhost:${port}/lounge/"; |