Skip to content

hanlogy/file-server.readonly.page

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple file server

A simple static file server (Nginx + Docker Compose) for hosting static files so they can be loaded by readonly.page via URLs, or any other purpose.

What it does

  • Serves everything under ./public folder
  • Enables CORS via nginx.conf

Files

  • docker-compose.yml - runs Nginx
  • nginx.conf - Nginx config
  • public/ - put your files here (Markdown, JSON, images, etc.). Organize them into folders as you need.

Run

docker compose up -d

Open: http://localhost:9082/welcome.md

Restart:

docker compose restart

Stop:

docker compose down

Update files

Add / remove / edit files in public/ and refresh your browser. No restart needed.

If you change nginx.conf, restart the container.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages