我在服务器上安装了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-错误请求"响应:
https://myhost/openmeetings/wicket/bookmarkable/org.apache.openmeetings.web.pages.auth.SignInPage?7-1.0-&_=1586132831523
https://myhost/openmeetings/wicket/bookmarkable/org.apache.openmeetings.web.pages.auth.SignInPage?7-1.0-signin&navigatorAppName=Netscape&navigatorAppVersion=5.0%20(X11(&navigatorAppCodeName=Mozilla&navigatorCookieEnabled=true&navigatorJavaEnabled=false&navigatorLanguage=en-CA&navigatorPlatform=Linux%20x86_64&navigatorUserAgent=Mozilla%2F5.0%20(X11%3B%20Ubuntu%3B%20Sinux%20x86_64%3B%20rv%3A74.0(%20Gecko%2F20100101%20Firefox%2F74.0&屏幕宽度=1680&屏幕高度=1050&screenColorDepth=24&utcOffset=-8&utcDSTO偏移=-7&browserWidth=11680&browserHeight=619&hostname=myhost&codebase=https%3A%2F%2Fmyhost%2Openmeetings%2Signin&设置=%5对象%20对象%5D&_=1586132831524
当我点击"登录"按钮时,另一个"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.这没什么区别。
我会在主机和我的web url 中包含.com或任何东西
您需要重命名/opt/open504中的文件夹还要更改openmeetings的server.xml。更改配置。重新启动应用程序或最好重新启动整个服务器。
请告诉我视频和音频是否有效。从外部源连接,而不是从您自己的路由器(lan(连接。