Added NPM example, thanks ResonatorPlus

GilbN 2020-10-22 21:55:53 +02:00
parent de8fb31654
commit b46f5947de

@ -5,7 +5,10 @@
<li><a href="#subfilter-method">Subfilter Method</a>
<ul>
<li><a href="#nginx">Nginx</a></li>
<li><a href="#nginx-variable">Nginx Variable (Recommended for easy switching)</a></li>
<ul>
<li><a href="#nginx-variable">Nginx Variable (Recommended for easy switching) 🔥</a></li>
<li><a href="#nginx-proxy-manager">Nginx Proxy Manager</a></li>
</ul>
<li><a href="#apache">Apache</a></li>
<li><a href="#caddy">Caddy</a></li>
<li><a href="#caddy-v2">Caddy V2</a></li>
@ -69,6 +72,17 @@ location /sonarr {
sub_filter_once on;
}
```
### Nginx Proxy Manager
If you're using Nginx Proxy Manager you can follow these steps:
1. Edit the proxy host for the app you want the theme to apply to.
2. Open the `Custom locations` tab and click `Add location`.
3. For the location enter `/` (forward slash) and enter the `Scheme`, `Forward Hostname / IP` and `Forward Port`. (These can be the same as setup on the `Details` tab.)
4. Click the cog so you can enter your custom Nginx configuration.
5. Enter the code you find above under `Add this to your reverse proxy`. Don't forget to replace the app and theme name.
![](https://i.imgur.com/QNulUxZ.png)
# Nginx Variable