# Moving Discourse to subdirectory caused all uploads to break

**URL:** <https://meta.discourse.org/t/moving-discourse-to-subdirectory-caused-all-uploads-to-break/32569>\
**Category:** Product Support\
**Created:** [2015 年8 月 27 日 01:32 UTC](https://meta.discourse.org/t/moving-discourse-to-subdirectory-caused-all-uploads-to-break/32569 "2015-08-27T01:32:15Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

作者： ![staticinvocation](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/staticinvocation/32/54469_2.png) [@staticinvocation](https://meta.discourse.org/u/staticinvocation)\
发布日期： [2015 年8 月 27 日 01:32 UTC](https://meta.discourse.org/t/moving-discourse-to-subdirectory-caused-all-uploads-to-break/32569/1 "2015-08-27T01:32:15Z")

</div>

I recently bought an EV cert for my domain and I wanted to use it on both my main site and my forum. To solve this, I followed [this guide](https://meta.discourse.org/t/subfolder-support-with-docker/30507) and moved it to a subdirectory using a Varnish configuration.

The only noticeable problem was that this broke all current and new uploads. Existing uploads 404 from nginx, and new uploads fail with no error in sideqik or the error log.

You can view the site here: [https://platinumcheats.net/forum/](https://platinumcheats.net/forum/). It was moved from [http://forum.platinumcheats.net/](http://forum.platinumcheats.net/).

Anyone know what the deal is/how to fix? I understand that subdirectories are now officially supported in Discourse.

---

_[View the full topic](https://meta.discourse.org/t/moving-discourse-to-subdirectory-caused-all-uploads-to-break/32569)._
