Skip to main content
The Static preset serves files directly via nginx — ideal for HTML sites, single-page applications, documentation, and landing pages.

What’s Included

ComponentVersionDetails
nginxLatest (Ubuntu 24.04)Web server, auto-starts on boot
SSHOpenSSHAccess via dedicated port

Directory Structure

/home/instapod/app/
├── index.html          # Default welcome page
└── (your files here)
  • App Root: /home/instapod/app
  • Public Root: /home/instapod/app (same — everything is public)
  • nginx config: Serves files from the app root on port 80

Deploying Your Site

Upload Files

# Upload a single file
instapod files upload my-site --local ./index.html

# Sync an entire directory
instapod files sync my-site --local ./dist

SCP

scp -P PORT -r ./dist/* instapod@host:/home/instapod/app/

Git Clone

instapod ssh my-site
cd /home/instapod/app
git clone https://github.com/you/your-site .

Reloading

After updating files, reload nginx to pick up configuration changes:
instapod pods reload my-site
For static files, nginx serves them directly — no reload is needed for simple HTML/CSS/JS changes. Only reload if you’ve modified the nginx configuration.

Use Cases

  • Static HTML/CSS/JS websites
  • Single-page applications (React, Vue, Svelte builds)
  • Documentation sites (VitePress, Docusaurus output)
  • Landing pages
  • File hosting