[LON-CAPA-admin] running loncapa behind nginx reverse proxy

Raeburn, Stuart raeburn at msu.edu
Sun Sep 12 17:43:30 EDT 2021


Todd,

I posted to this mailing list in May 2021 about using a Web Application Firewall/Reverse Proxy with LON-CAPA

See: mail.lon-capa.org/pipermail/lon-capa-admin/2021-May/003475.html

Stuart Raeburn
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:

http://mail.lon-capa.org/pipermail/lon-capa-admin/2019-October/003406.html

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?

Thanks,
Todd
_______________________________________________
LON-CAPA-admin mailing list
LON-CAPA-admin at mail.lon-capa.org
http://mail.lon-capa.org/mailman/listinfo/lon-capa-admin


More information about the LON-CAPA-admin mailing list