Expose Apache/Nginx web server
This tutorial will explain how to expose a localhost Apache/Nginx web server and give it a shareable link that is accessible from the internet.
1. Using HTTP Tunnel:
a. Prepare Apache/Nginx web server
docker run -p 3000:80 httpd
docker run -p 3000:80 nginxb. Start HTTP tunnel
loclx tunnel http --subdomain apache --to localhost:3000 2. Using TLS tunnel
a. Prepare Apache/Nginx web server
b. Start TLS tunnel
3. Using TCP tunnel
a. Prepare Apache/Nginx web server as we did before in TLS and HTTP tunnel.
b. Start TCP tunnel
Last updated