# Serve Static File

**URL:** https://meta.discourse.org/t/serve-static-file/80585
**Category:** Sysadmins
**Tags:** how-to
**Created:** [February 15, 2018, 1:03am UTC](https://meta.discourse.org/t/serve-static-file/80585 "2018-02-15T01:03:40Z")
**Posts on this page:** 1
**Showing post:** 13

<div class="post-metadata">

### Author: ![fang](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fang/32/268176_2.png) [@fang](https://meta.discourse.org/u/fang)
#### Post date: [July 29, 2022, 10:39am UTC](https://meta.discourse.org/t/serve-static-file/80585/13 "2022-07-29T10:39:46Z")

</div>

I‘m using Cloudflare worker for this purpose:

> [@Add files to root directory](https://meta.discourse.org/t/add-files-to-root-directory/86300):
>
> How to upload files to my sites root directory ([https://example.com/file.txt](https://example.com/file.txt)), I’m trying to have [loader.io](http://loader.io) config in the Root directory, i used ./launcher enter app and kept my file in public directory however after updating my instance it is gone.

---

_[View the full topic](https://meta.discourse.org/t/serve-static-file/80585)._
