This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Content Editor behind Nginx

Hello Forum,

I found similar question community.microfocus.com/.../2705014 but NAM differs a bit from Nginx.

Like in the mentioned thread I see empty screen only or (with a bit different Nginx settings) a popup message that "CE was not able to read document. Please contact admin". Inside "LAN" CE works fine.

In the context of other project I'm able to manage WebSocket traffic via Nginx as a reverse proxy.

I tried to copy & modify these setttings but without positive results.

Any ideas would be appreciated.

 

Regards, Dariusz

Parents Reply
  • 0 in reply to   

    Hi Diethmar,

    we tried to implement this configuration, but so far failed. The problem seems to be not the ngnix configuration but Filr: Filr does not use the "external" URL for ce over nginx but the internal one. The only access we see in ngnix's log is when configuring Content Editor in Filr, when pressing "Test connection" (Success) and "OK".

    How did you make sure that Filr uses the reverse proxy? Are there any additional steps to do?

    Thanks,

    Mirko

    Filr 23.2.1

Children
  • 0   in reply to 

    Filr wants to use an external ce dns name to offer ce functionality. So Filr should be able to access CE using a dns information without passing a proxy. ;-) (maybe use your internal DNS server to handle this or your local Filr hosts file).

    Users will get the whole path to access but will pass proxy every time.

    I still use the mentioned configuration file above.


    Use "Verified Answers" if your problem/issue has been solved!

  • 0 in reply to   

    Finally we got it working...

    <IP address of ce appliance> <reverse proxy DNS name for ce>

    in /etc/hosts to persuade Filr to use the reverse proxy. But this still seems strange to me - how does this work? And - how can one figure that out? Many thanks for the tip!

    We had to change the location / section: we added

               proxy_set_header Upgrade $http_upgrade;
               proxy_set_header Connection "Upgrade";
               proxy_set_header Host $http_host;

    here too, otherwise it did not work.

    Thanks for helping!

  • 0   in reply to 

    I used tips for Collabora to get it running Innocent 


    Use "Verified Answers" if your problem/issue has been solved!

  • 0   in reply to   

    New CE needs new settings in nginx proxy settings. This example file will solve issues: https://help.univention.com/t/collabora-nextcloud-hinter-nginx-reverse-proxy/19871


    Use "Verified Answers" if your problem/issue has been solved!