# Using YunoHost behind an NGINX proxy manager

**URL:** https://forum.yunohost.org/t/using-yunohost-behind-an-nginx-proxy-manager/35216
**Category:** Advanced use case
**Tags:** raspberrypi, dns, en, english
**Created:** [February 4, 2025, 6:29pm UTC](https://forum.yunohost.org/t/using-yunohost-behind-an-nginx-proxy-manager/35216 "2025-02-04T18:29:28Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![niccokunzmann](https://forum.yunohost.org/user_avatar/forum.yunohost.org/niccokunzmann/32/11414_2.png) [@niccokunzmann](https://forum.yunohost.org/u/niccokunzmann)
#### Post date: [February 4, 2025, 6:29pm UTC](https://forum.yunohost.org/t/using-yunohost-behind-an-nginx-proxy-manager/35216/1 "2025-02-04T18:29:28Z")

</div>

I was struggeling a bit to use yunohost on a different machine behind the nginx proxy manager of my server.

This is how I got it to work:

Use the HTTPS forward:

 ![grafik](https://forum.yunohost.org/uploads/default/original/2X/b/b71d1904399da463973941dd857f0ec1e6c7f9ba.png)

Request an SSL Ceriticate:

 ![grafik](https://forum.yunohost.org/uploads/default/original/2X/9/9cf87ab1d925a2b5c4e8acebbfbea2619754474e.png)

Set the advanced options:

```auto
location / {
    proxy_pass https://10.8.0.2:443;
    proxy_ssl_verify off;
    proxy_set_header Host $host;
    proxy_ssl_protocols TLSv1 TLSv1.1 TLSv1.2 TLSv1.3;
}

```

So, if you want to run yunohost behind an nginx reverse proxy, this could be of help.

I also used this to disable the HTTPS that was enforced:

```auto
sudo yunohost settings set security.nginx.nginx_redirect_to_https -v no

```

But it seemed to have no effect.

See also:

- [reverse proxy - Make nginx to pass hostname of the upstream when reverseproxying - Server Fault](https://serverfault.com/questions/598202/make-nginx-to-pass-hostname-of-the-upstream-when-reverseproxying)
- [How to disable SSL verification for proxied host? · NginxProxyManager/nginx-proxy-manager · Discussion #3332 · GitHub](https://github.com/NginxProxyManager/nginx-proxy-manager/discussions/3332)

---

<div class="post-metadata">

### Author: ![wbk](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/w/e0b2c6/32.png) [@wbk](https://forum.yunohost.org/u/wbk)
#### Post date: [February 4, 2025, 6:31pm UTC](https://forum.yunohost.org/t/using-yunohost-behind-an-nginx-proxy-manager/35216/2 "2025-02-04T18:31:31Z")

</div>

Hi niccokunzmann,

Welcome to the forums!

How nice of you to sign up to share how you solved this, I’m sure it will come in handy for other users in the future 🙂

Have fun with your proxied Yunohost!

---

<div class="post-metadata">

### Author: ![Reveritus](https://forum.yunohost.org/user_avatar/forum.yunohost.org/reveritus/32/11710_2.png) [@Reveritus](https://forum.yunohost.org/u/Reveritus)
#### Post date: [February 19, 2025, 7:07pm UTC](https://forum.yunohost.org/t/using-yunohost-behind-an-nginx-proxy-manager/35216/3 "2025-02-19T19:07:05Z")

</div>

It may seem strange, but on the current version 12.0.11 this:  
'sudo yunohost settings set security. nginx.nginx\_redirect\_to\_https-v no`  
does not work, because:  
“Error: The filter key ‘(‘security’, ‘nginx’, ‘redirect\_to\_https’)’ is incorrect.”

---

<div class="post-metadata">

### Author: ![metyun](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/m/f14d63/32.png) [@metyun](https://forum.yunohost.org/u/metyun)
#### Post date: [February 19, 2025, 8:27pm UTC](https://forum.yunohost.org/t/using-yunohost-behind-an-nginx-proxy-manager/35216/4 "2025-02-19T20:27:49Z")

</div>

> [@Reveritus](#):
>
> yunohost settings set security. nginx.nginx\_redi

No problems for me, you have a space between security. and nginx, is it a copy/paste of your command? If yes, there’s a mistake.

---

<div class="post-metadata">

### Author: ![Reveritus](https://forum.yunohost.org/user_avatar/forum.yunohost.org/reveritus/32/11710_2.png) [@Reveritus](https://forum.yunohost.org/u/Reveritus)
#### Post date: [February 23, 2025, 7:39am UTC](https://forum.yunohost.org/t/using-yunohost-behind-an-nginx-proxy-manager/35216/5 "2025-02-23T07:39:03Z")

</div>

Yes, this is just in copypaste space. In real is no space between security. and nginx.

---

<div class="post-metadata">

### Author: ![mr-utilman](https://forum.yunohost.org/user_avatar/forum.yunohost.org/mr-utilman/32/13443_2.png) [@mr-utilman](https://forum.yunohost.org/u/mr-utilman)
#### Post date: [March 20, 2026, 6:28pm UTC](https://forum.yunohost.org/t/using-yunohost-behind-an-nginx-proxy-manager/35216/10 "2026-03-20T18:28:52Z")

</div>

hello i also use nginx proxy manager and i am wondering if it works or not. i did everything like told there above. when i open my old wordpress site i created before NPM then it loads but nothing happends

the domain ist https://……./yunohost/admin/#/apps/wordpress/\_core

I dont know what i can try else

---

<div class="post-metadata">

### Author: ![niccokunzmann](https://forum.yunohost.org/user_avatar/forum.yunohost.org/niccokunzmann/32/11414_2.png) [@niccokunzmann](https://forum.yunohost.org/u/niccokunzmann)
#### Post date: [March 20, 2026, 6:50pm UTC](https://forum.yunohost.org/t/using-yunohost-behind-an-nginx-proxy-manager/35216/11 "2026-03-20T18:50:06Z")

</div>

I think, it would be good to create a new post with images, screen shots, configuration options and the path that you took. Questions to answer in this: Is there anything visible from yunohost? What is your wordpress domain?
