[LON-CAPA-admin] running loncapa behind nginx reverse proxy
raeburn at msu.edu
Sun Sep 12 17:43:30 EDT 2021
I posted to this mailing list in May 2021 about using a Web Application Firewall/Reverse Proxy with LON-CAPA
LON-CAPA Academic Consortium
From: LON-CAPA-admin <lon-capa-admin-bounces at mail.lon-capa.org> on behalf of Todd Pfaff via LON-CAPA-admin <lon-capa-admin at mail.lon-capa.org>
Sent: Sunday, September 12, 2021 5:38 PM
To: lon-capa-admin at mail.lon-capa.org
Subject: [LON-CAPA-admin] running loncapa behind nginx reverse proxy
I posted this question back in 2019:
but got no response so I'm trying again.
We run an Nginx reverse proxy front-end server where we do all of our ssl
termination and proxy to various back-end hosts for various web services.
Our LON-CAPA server is one of those back-ends.
I want all access to LON-CAPA to use the front-end hostname so that it
goes through our nginx front-end but I find that some of the LON-CAPA page
links are being written using the name of the back-end host.
What do I need to tweak to avoid some of the LON-CAPA html hrefs being
written using the back-end hostname?
What hostname should be in the various lonTabs files: the front-end
hostname or the back-end hostname?
LON-CAPA-admin mailing list
LON-CAPA-admin at mail.lon-capa.org
More information about the LON-CAPA-admin