# Ansible web directory

**URL:** <https://forum.ansible.com/t/ansible-web-directory/26232>\
**Category:** Ansible Project\
**Created:** [December 8, 2017, 7:55pm UTC](https://forum.ansible.com/t/ansible-web-directory/26232 "2017-12-08T19:55:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![RB\_BR](https://avatars.discourse-cdn.com/v4/letter/r/dec6dc/32.png) [@RB\_BR](https://forum.ansible.com/u/RB_BR)\
**Post date:** [December 8, 2017, 7:55pm UTC](https://forum.ansible.com/t/ansible-web-directory/26232/1 "2017-12-08T19:55:51Z")

</div>

I’m looking to move the default web directory for ansible to a sub directory or even create an alias to push to a sub directory.

I have figured out how to do this with a base nginx config file. Is this possible with the ansible configuration. I can’t seem to locate where I would place a redirect. Or does Ansible use the location and root folder locations configured in nginx as the base configuration file for it’s native root directory. .

For example:

I want to move [www.ansiblehome.com](http://www.ansiblehome.com) default directory to [ansiblehome.com/index/](http://ansiblehome.com/index/) directory
