1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 23:20:55 +00:00

nixos/jitsi-meet: allow more room names

This commit is contained in:
Milan Pässler 2020-07-08 23:55:25 +02:00
parent dcc12e4df6
commit 5ff05249cf

View file

@ -277,18 +277,14 @@ in
enableACME = mkDefault true;
forceSSL = mkDefault true;
root = pkgs.jitsi-meet;
locations."~ ^/([a-zA-Z0-9=\\?]+)$" = {
extraConfig = ''
rewrite ^/(.*)$ / break;
'';
};
locations."/" = {
index = "index.html";
extraConfig = ''
ssi on;
'';
};
locations."/http-bind" = {
extraConfig = ''
ssi on;
'';
locations."@root_path".extraConfig = ''
rewrite ^/(.*)$ / break;
'';
locations."~ ^/([^/\\?&:'\"]+)$".tryFiles = "$uri @root_path";
locations."=/http-bind" = {
proxyPass = "http://localhost:5280/http-bind";
extraConfig = ''
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;