Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
documentation:latest:applications:jitsimeet [2020/03/16 21:50]
paucur [Jitsi Meet Nginx configuration]
documentation:latest:applications:jitsimeet [2020/04/10 14:41] (current)
maxbes [Jitsi Meet Nginx configuration]
Line 48: Line 48:
   }   }
  
-# Protect only the /​login/ ​and /logout/ URLs. +# Protect only the /​login/ ​URL
 # You may want to change this is your goal is to make the whole Jitsi Meet instance private # You may want to change this is your goal is to make the whole Jitsi Meet instance private
  
-location ​~ ^/log(in|out)/ {+location /login/ {
  
  auth_request /lmauth;  auth_request /lmauth;
Line 60: Line 60:
     auth_request_set $mail $upstream_http_mail;​     auth_request_set $mail $upstream_http_mail;​
     proxy_set_header mail $mail;     proxy_set_header mail $mail;
 +    auth_request_set $displayname $upstream_http_displayName;​
 +    proxy_set_header displayName $displayname;​
     auth_request_set $lmcookie $upstream_http_cookie;​     auth_request_set $lmcookie $upstream_http_cookie;​
     proxy_set_header Cookie: $lmcookie;     proxy_set_header Cookie: $lmcookie;
  
- proxy_pass http://​127.0.0.1:​8888;​+ proxy_pass http://​127.0.0.1:​8888/login;
 } }
 </​code>​ </​code>​