
OpenResty
OpenResty — high-performance Nginx with built-in LuaJIT, used as a base for API gateways, edge proxies, and custom Nginx setups
Deploy OpenResty in 3 Steps
Connect Your VPS
Add your server credentials to Server Compass
Select OpenResty
Choose from our template library
Deploy & Configure
Fill in settings and click Deploy
After Deployment
After deploying OpenResty with Server Compass, complete these steps to finish setup
Visit http://YOUR_SERVER_IP:{{PORT}} and confirm the default OpenResty welcome page renders
Add custom server blocks to the openresty_config volume: `docker compose cp my.conf openresty:/etc/nginx/conf.d/my.conf`
Reload Nginx without downtime: `docker compose exec openresty openresty -s reload`
(Optional) Build a derived image with your Lua modules / management UI baked in, and switch the `image:` line to your custom tag
Need help? Check out our documentation for detailed guides.
OpenResty FAQ
Common questions about self-hosting OpenResty
How do I deploy OpenResty with Server Compass?
Simply download Server Compass, connect to your VPS, and select OpenResty from the templates list. Fill in the required configuration and click Deploy. The entire process takes under 3 minutes.
What are the system requirements for OpenResty?
OpenResty requires a minimum of 256MB RAM. We recommend a VPS with at least 1024MB RAM for optimal performance. Any modern Linux server with Docker support will work.
Can I migrate my existing OpenResty data?
Yes! Server Compass provides volume mapping that allows you to import existing data. You can also use standard OpenResty backup and restore procedures.
How do I update OpenResty to the latest version?
Server Compass makes updates easy. Simply click the Update button in your deployment dashboard, and the latest OpenResty image will be pulled and deployed with zero downtime.
Is OpenResty free to self-host?
OpenResty is open-source software. You only pay for your VPS hosting (typically $5-20/month) and optionally Server Compass ($29 one-time). No subscription fees or per-seat pricing.
Related Templates
View all Development
PocketBase
Open-source backend in a single file with realtime database, auth, and file storage

Appwrite
Open-source backend-as-a-service - self-hosted Firebase alternative

Parse Server
Open-source backend framework with dashboard

Supabase
Full Supabase self-hosted with Kong, GoTrue Auth, Realtime, and Studio
Ready to Self-Host OpenResty?
Download Server Compass and deploy OpenResty to your VPS in under 3 minutes. No Docker expertise required.
Download Server Compass