# How to serve .xml files directly from /uploads/default/original/

**URL:** <https://meta.discourse.org/t/how-to-serve-xml-files-directly-from-uploads-default-original/130708>\
**Category:** Product Support\
**Created:** [October 10, 2019, 5:44pm UTC](https://meta.discourse.org/t/how-to-serve-xml-files-directly-from-uploads-default-original/130708 "2019-10-10T17:44:52Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [October 11, 2019, 8:39am UTC](https://meta.discourse.org/t/how-to-serve-xml-files-directly-from-uploads-default-original/130708/4 "2019-10-11T08:39:42Z")

</div>

Enter the container and edit `/etc/nginx/conf.d/discourse.conf` to have it serve files from /sitemap. You can Google nginx for help on how you might do that.

You can get nginx to reload the config with

```
  sv restart nginx

```

That will solve your immediate problem. The you can go about making changes to app.yml that will make those changes when you rebuild the container.

If that doesn’t make sense and it’s urgent and you have a budget my contact info is in my profile.

---

_[View the full topic](https://meta.discourse.org/t/how-to-serve-xml-files-directly-from-uploads-default-original/130708)._
