Reverse Proxy Setup
nginx
server {
listen 443 ssl http2;
server_name bytetap.example.com;
ssl_certificate /etc/letsencrypt/live/example.com/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/example.com/privkey.pem;
location / {
proxy_pass http://localhost:8080;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
}
}
Caddy
bytetap.example.com {
reverse_proxy localhost:8080
}