🕵️Proxy Setup
Setting up LANraragi behind a proxy (reverse proxy setup)
A common post-install setup is to make requests to the app transit through a gateway server such as Apache or nginx. If you do so, please note that archive uploads through LRR will likely not work out of the box due to maximum sizes on uploads those servers can enforce. The example below is for nginx:
Setting up LANraragi to use a proxy for outbound network requests
This is a less common scenario, but you might want to have downloads or metadata requests to external services go through a proxy, in case said external services are blocked by your friendly local totalitarian regime.
LANraragi runs on top of the Mojolicious web server, which has built-in support for proxifying external requests.
To enable automatic proxy detection, the MOJO_PROXY
environment variable must be set to 1 on your machine: This is enabled by default on Docker builds.
Once said detection enabled, environment variables HTTP_PROXY, http_proxy, HTTPS_PROXY, https_proxy, NO_PROXY
and no_proxy
will be checked for proxy information.
Here's an example for a Docker-compose setup:
Last updated