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