我已经在服务器上安装了OpenMeetings v5.0.0,并且能够使用ssh隧道进行配置和登录。
因此,我按照本教程中的说明设置了Nginx反向代理:
https://www.vultr.com/docs/how-to-install-openmeetings-on-ubuntu-16-04
当我在浏览器中输入URL时,它会重定向到https://myhost/openmeetings/signin并显示登录页面,但是这两个AJAX调用会收到“ 400-Bad Request”响应:
当我按下“登录”按钮时,出现另一个“ 400-错误的请求”
我的Nginx配置:
server {
listen 443 ssl;
listen [::]:443 ssl;
gzip off;
ssl_certificate /etc/letsencrypt/live/myhost/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/myhost/privkey.pem; # managed by Certbot
ssl on;
ssl_session_cache builtin:1000 shared:SSL:10m;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_ciphers HIGH:!aNULL:!eNULL:!EXPORT:!CAMELLIA:!DES:!MD5:!PSK:!RC4;
ssl_prefer_server_ciphers on;
server_name www.myhost myhost;
access_log /var/log/nginx/myserver.access.log;
error_log /var/log/nginx/myhost.error.log;
location / {
proxy_pass http://localhost:5080;
proxy_set_header host $host;
proxy_http_version 1.1;
proxy_set_header upgrade $http_upgrade;
proxy_set_header connection "upgrade";
}
}
server {
if ($host = www.myhost) {
return 301 https://$host$request_uri;
} # managed by Certbot
if ($host = myhost) {
return 301 https://$host$request_uri;
} # managed by Certbot
listen 80;
server_name www.myhost myhost;
return 404; # managed by Certbot
}
根据本教程,我尝试将application.base.url设置更改为https://myhost。没关系。
答案 0 :(得分:0)
我会在主机和Web网址中包含.com或其他任何内容
您需要重命名/ opt / open504中的文件夹 还要在server.xml的openmeetings中进行更改。 进行配置更改。重新启动应用程序,或者最好重新启动整个服务器计算机。
让我知道视频和音频是否有效。从外部来源而不是您自己的路由器(lan)连接。