Please check this SO [1] question
and the section of config related to WS ...

[1] 
https://stackoverflow.com/questions/51721771/apache-openmeetings-4-0-4-csrf-attack-when-using-apache2-as-proxypass

On Sat, 21 Mar 2020 at 15:46, Michael Brohl <[email protected]> wrote:
>
> Hi Lukas,
>
> please see my message "Permanent loading screen" and the answers a few
> days ago. I've got it running with Apache/https in front of Tomcat now.
>
> Best regards,
>
> Michael
>
>
> Am 20.03.20 um 20:45 schrieb Lukas Neumann:
> > Hello everyone!
> > I recently set up OpenMeetings 5.0.0-M3 on an Ubuntu 18.04 Server.
> > Everything works perfectly when accessing Tomcat directly through
> > ports 5080 and 5443, but when I use Apache HTTP Server
> > as reverse proxy the behaviour changes:
> > Everything on the login screen works fine, including the network test.
> > When trying to log in it redirects to the proper secion (rooms), but
> > the application
> > only displays the animated loading symbol and the global chat window.
> > When attempting to post in the global chat, the application redirects
> > to an "Internal Server Error" page.
> > The Apache virtual host is defined as follows:
> > <VirtualHost *:443>
> >   ServerName www.[my_server].com
> >   ServerAlias [my_server].com
> >   ProxyPreserveHost On
> >   ProxyRequests Off
> >   ProxyPass / http://localhost:5080/
> >   ProxyPassReverse / http://localhost:5080/
> >   SSLEngine On
> >   SSLProxyVerify none
> >   SSLProxyCheckPeerCN off
> >   SSLProxyCheckPeerName off
> >   SSLProxyCheckPeerExpire off
> >   SSLCertificateFile /etc/letsencrypt/live/URL/fullchain.pem
> >   SSLCertificateKeyFile /etc/letsencrypt/live/URL/privkey.pem
> >   Include /etc/letsencrypt/options-ssl-apache.conf
> > </VirtualHost>
> > And I changed the tomcat connector on port 5080 in conf/serv.xml
> > <Connector port="5080"
> >   protocol="HTTP/1.1"
> >   connectionTimeout="20000"
> >   secure="true"
> >   scheme="https" />
> > I have attempted any number of combinations of the "secure" and
> > "scheme" attributes to no avail.
> > Any Ideas what might cause this error or where to look? Thanks.
> > Lukas
>


-- 
WBR
Maxim aka solomax

Reply via email to