Same URL both inside and outside network via NGINX

This page summarizes the projects mentioned and recommended in the original post on /r/selfhosted

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • Nginx Proxy Manager

    Docker container for managing Nginx proxy hosts with a simple, powerful interface

  • The steps involved for getting this setup are: - Register a domain name - Set the domain to resolve to your home IP address - (Technically optional but highly recommended) Set up dyndns to automatically update your domain if your home IP changes. Some routers have this as a built-in feature you can use. If not, you'd need to run an auto-updater yourself. - Configure port forwarding in your router for 80 and 443 to your reverse proxy (nginx) - I recommend using something that automatically sets up TLS through letsencrypt such as SWAG or nginx proxy manager. They're all just wrappers for nginx so if you're familiar with nginx then they should be easy changes. - Configure nginx to listen on 80 (HTTP) and 443 (HTTPS) but redirect requests based on either subdomain or path to the specific IP + Port of your app. - (Optional but recommended) Configure your internal DNS server to resolve your domain to the local IP of your reverse proxy so internal traffic doesn't need to leave your network and come back in from the internet.

  • docker-swag

    Nginx webserver and reverse proxy with php support and a built-in Certbot (Let's Encrypt) client. It also contains fail2ban for intrusion prevention.

  • The steps involved for getting this setup are: - Register a domain name - Set the domain to resolve to your home IP address - (Technically optional but highly recommended) Set up dyndns to automatically update your domain if your home IP changes. Some routers have this as a built-in feature you can use. If not, you'd need to run an auto-updater yourself. - Configure port forwarding in your router for 80 and 443 to your reverse proxy (nginx) - I recommend using something that automatically sets up TLS through letsencrypt such as SWAG or nginx proxy manager. They're all just wrappers for nginx so if you're familiar with nginx then they should be easy changes. - Configure nginx to listen on 80 (HTTP) and 443 (HTTPS) but redirect requests based on either subdomain or path to the specific IP + Port of your app. - (Optional but recommended) Configure your internal DNS server to resolve your domain to the local IP of your reverse proxy so internal traffic doesn't need to leave your network and come back in from the internet.

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts