Configuring a Reverse Proxy With LinuxServer’s SWAG, Cloudflare, and a Custom Domain

Introduction

What We’ll Need

Purchasing a Domain and Configuring It in Cloudflare

Installing SWAG

Forwarding HTTP/HTTPS to SWAG in Your Router’s Settings

Configuring Subdomains in SWAG

Change this…
…to this.

Configuring Subfolders in SWAG

Final Steps and Review

What if SWAG doesn’t have a sample file for my application?

Conclusion

Freelance tech writer with a primary focus on the self-hosted scene

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store