Skip to content

HTTPS & SSL setup

Proper SSL configuration is essential for securing your Ridy instance, ensuring data encryption, and enabling features like Firebase push notifications and secure payment gateways.

Ridy supports both Cloudflare-based flexible SSL and manual certificate installation. Cloudflare is the recommended and simplest approach.


We recommend using Cloudflare as your DNS and SSL provider. It simplifies the process and works seamlessly with the default Docker configuration.

✅ Requirements

  • A static IP address (required for license validation)
  • A registered domain name (e.g., yourdomain.com)
  • Access to your domain's DNS management

⚙️ Step-by-Step Setup with Cloudflare

  1. Point Your Domain to the Server
    • Set an A record in your Cloudflare DNS settings:

      yourdomain.com → <your-static-ip>
  2. Enable Cloudflare SSL
    • Go to:
      Cloudflare Dashboard → SSL/TLS → Overview
    • Select Flexible SSL mode (Cloudflare communicates with server over HTTP)
  3. Optional: Enable Always Use HTTPS
    • This ensures all HTTP traffic is automatically redirected to HTTPS:

      Cloudflare → SSL/TLS → Edge Certificates → Always Use HTTPS → ON
  4. DNS Propagation
    • Wait up to 5 minutes for DNS changes to take effect

🚀 Once this is done, your app will be available at:

  • https://yourdomain.com/admin/ (Admin Panel)
  • https://yourdomain.com/booking/ (Customer Web App)

🛠️ Advanced Option: Manual SSL with Let's Encrypt

If you prefer manual SSL management, you can install Let's Encrypt certificates using external tools like:

However, this route requires:

  • Exposing port 443
  • Customizing NGINX or reverse proxy configurations
  • Setting up renewal scripts or cron jobs

This option is only recommended for experienced users or those integrating into an existing DevOps pipeline.


⚠️ Notes & Considerations

ItemDetail
NGINX RoleIncluded in Docker stack, listens on port 80
No Port 443 Binding RequiredCloudflare handles SSL offloading
No Manual NGINX ConfigurationUnless bypassing Cloudflare
SSL for API & AdminServed under path-based routes (e.g., /admin/, /booking/)
Static IP RequirementEnforced solely for license verification, not for SSL
Multiple Services on One DomainSupported via path-based routing: yourdomain.com/admin/, etc.

🔁 Testing SSL

You can test if your setup is working using:

  • https://yourdomain.com/admin/ in your browser
  • SSL Labs for detailed analysis
  • Inspecting response headers for Strict-Transport-Security (if enabled)