# Uploading a file to the web root

**URL:** <https://meta.discourse.org/t/uploading-a-file-to-the-web-root/35626>\
**Category:** Self-hosting\
**Created:** [November 16, 2015, 1:51am UTC](https://meta.discourse.org/t/uploading-a-file-to-the-web-root/35626 "2015-11-16T01:51:36Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![vhamon](https://avatars.discourse-cdn.com/v4/letter/v/cdc98d/32.png) [@vhamon](https://meta.discourse.org/u/vhamon)\
**Post date:** [February 2, 2017, 9:19am UTC](https://meta.discourse.org/t/uploading-a-file-to-the-web-root/35626/5 "2017-02-02T09:19:58Z")

</div>

Hello,

I tried to put a .txt file into /var/discourse/shared/standalone, giving it www-data read rights. After rebuilding app, the file is still not available to public. Nginx need to be configured ? How ? Any help would be greatly appreciated.

Thanks in advance,  
Valentin.

---

_[View the full topic](https://meta.discourse.org/t/uploading-a-file-to-the-web-root/35626)._
