# Configuring Redirects

**URL:** https://forum.yunohost.org/t/configuring-redirects/15038
**Category:** Support
**Tags:** nginx, yunohost, french, english
**Created:** [March 19, 2021, 12:47pm UTC](https://forum.yunohost.org/t/configuring-redirects/15038 "2021-03-19T12:47:47Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![Jules-Bertholet](https://forum.yunohost.org/user_avatar/forum.yunohost.org/jules-bertholet/32/4128_2.png) [@Jules-Bertholet](https://forum.yunohost.org/u/Jules-Bertholet)
#### Post date: [March 20, 2021, 12:42am UTC](https://forum.yunohost.org/t/configuring-redirects/15038/3 "2021-03-20T00:42:12Z")

</div>

When you install the Redirect app, a nginx `.conf` file is added under the `/etc/nginx/conf.d/the.domain.being.redirected.from.tld.d/` directory (in your case this would be under `/etc/nginx/conf.d/mydomain.tld.d/`. The Redirect app just automates the addition of this file. You want to edit this file to configure the redirect. And yes, if you want to redirect both domains, you also need to add a `.conf` file under `/etc/nginx/conf.d/forms.mydomain.tld.d/`.

---

_[View the full topic](https://forum.yunohost.org/t/configuring-redirects/15038)._
