# How to add a server to the nginx configuration of a yunohost server?

**URL:** https://forum.yunohost.org/t/how-to-add-a-server-to-the-nginx-configuration-of-a-yunohost-server/13469
**Category:** Support
**Tags:** english
**Created:** [December 1, 2020, 11:34am UTC](https://forum.yunohost.org/t/how-to-add-a-server-to-the-nginx-configuration-of-a-yunohost-server/13469 "2020-12-01T11:34:20Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Red](https://forum.yunohost.org/user_avatar/forum.yunohost.org/red/32/3673_2.png) [@Red](https://forum.yunohost.org/u/Red)
#### Post date: [December 1, 2020, 11:34am UTC](https://forum.yunohost.org/t/how-to-add-a-server-to-the-nginx-configuration-of-a-yunohost-server/13469/1 "2020-12-01T11:34:20Z")

</div>

### My YunoHost server

**Hardware:** Old laptop or computer  
**YunoHost version:** 4.0.8.2  
**I have access to my server :** Through SSH + SFTP | through the webadmin | direct access via keyboard / screen  
**Are you in a special context or did you perform some particular tweaking on your YunoHost instance ?** : that’s a bit the point of my question

### Description of my issue

Hey, i installed yunohost on a debian 10.6 computer. I also installed a radarr server, and i’m wondering how to edit NGINX’s files to allow me to access the server ?  
when just adding theses lines :

```auto
                location /radarr/ {
                    proxy_pass http:// 127.0.0.1:7878;
                }

```

to the `/etc/nginx/conf.d/domain-name.conf` file it redirects to the yunohost SSO, but doesn’t let me access the server. How can i add an external server ?  
thanks !

(there isn’t typos, i escaped some links due to the new users limitations)

---

<div class="post-metadata">

### Author: ![Benance](https://forum.yunohost.org/user_avatar/forum.yunohost.org/benance/32/607_2.png) [@Benance](https://forum.yunohost.org/u/Benance)
#### Post date: [December 1, 2020, 1:14pm UTC](https://forum.yunohost.org/t/how-to-add-a-server-to-the-nginx-configuration-of-a-yunohost-server/13469/2 "2020-12-01T13:14:54Z")

</div>

Hello  
I think you could use the [redirect app](https://github.com/YunoHost-Apps/redirect_ynh) to get it works

---

<div class="post-metadata">

### Author: ![system](https://forum.yunohost.org/uploads/default/original/2X/f/f59fe8e3ee6b100b4f574d30d6e30479c68b89f0.png) [@system](https://forum.yunohost.org/u/system)
#### Post date: [December 16, 2020, 1:14pm UTC](https://forum.yunohost.org/t/how-to-add-a-server-to-the-nginx-configuration-of-a-yunohost-server/13469/3 "2020-12-16T13:14:56Z")

</div>

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.
