# How do I do what I did in htaccess in nginx?

**URL:** https://meta.discourse.org/t/how-do-i-do-what-i-did-in-htaccess-in-nginx/80772
**Category:** Self-hosting
**Created:** [16.Февраль.2018 19:55:48 UTC](https://meta.discourse.org/t/how-do-i-do-what-i-did-in-htaccess-in-nginx/80772 "2018-02-16T19:55:48Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![Overgrow](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/overgrow/32/478189_2.png) [@Overgrow](https://meta.discourse.org/u/Overgrow)
#### Post date: [16.Февраль.2018 20:41:41 UTC](https://meta.discourse.org/t/how-do-i-do-what-i-did-in-htaccess-in-nginx/80772/4 "2018-02-16T20:41:41Z")

</div>

See the link I gave you .. [Run other websites on the same machine as Discourse](https://meta.discourse.org/t/running-other-websites-on-the-same-machine-as-discourse/17247)

I’m sure you can derive solution from it..

---

_[View the full topic](https://meta.discourse.org/t/how-do-i-do-what-i-did-in-htaccess-in-nginx/80772)._
