瀏覽代碼

Corrected example config for Apache

 - dropped uneccessary rewrite rule
 - corrected number of trailing slashs in proxy directive
 - corrected url for colibri websocket
master
Matthias Nagel 4 年之前
父節點
當前提交
696f509f18
共有 1 個檔案被更改,包括 4 行新增6 行删除
  1. 4
    6
      doc/debian/jitsi-meet/jitsi-meet.example-apache

+ 4
- 6
doc/debian/jitsi-meet/jitsi-meet.example-apache 查看文件

2
 <VirtualHost *:80>
2
 <VirtualHost *:80>
3
     ServerName jitsi-meet.example.com
3
     ServerName jitsi-meet.example.com
4
     Redirect permanent / https://jitsi-meet.example.com/
4
     Redirect permanent / https://jitsi-meet.example.com/
5
-    RewriteEngine On
6
-    RewriteCond %{HTTPS} off
7
-    RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
8
 </VirtualHost>
5
 </VirtualHost>
9
 
6
 
10
 <VirtualHost *:443>
7
 <VirtualHost *:443>
42
     </Location>
39
     </Location>
43
 
40
 
44
     ProxyPreserveHost on
41
     ProxyPreserveHost on
45
-    ProxyPass /http-bind http://localhost:5280/http-bind/
46
-    ProxyPassReverse /http-bind http://localhost:5280/http-bind/
42
+    ProxyPass /http-bind http://localhost:5280/http-bind
43
+    ProxyPassReverse /http-bind http://localhost:5280/http-bind
47
     ProxyPass /xmpp-websocket ws://localhost:5280/xmpp-websocket
44
     ProxyPass /xmpp-websocket ws://localhost:5280/xmpp-websocket
48
     ProxyPassReverse /xmpp-websocket ws://localhost:5280/xmpp-websocket
45
     ProxyPassReverse /xmpp-websocket ws://localhost:5280/xmpp-websocket
49
-    ProxyPassMatch ^/colibri-ws/default-id ws://localhost:9090
46
+    ProxyPass /colibri-ws/default-id ws://localhost:9090/colibri-ws/default-id
47
+    ProxyPassReverse /colibri-ws/default-id ws://localhost:9090/colibri-ws/default-id
50
 
48
 
51
     RewriteEngine on
49
     RewriteEngine on
52
     RewriteRule ^/([a-zA-Z0-9]+)$ /index.html
50
     RewriteRule ^/([a-zA-Z0-9]+)$ /index.html

Loading…
取消
儲存