Basic NGINX Reverse Proxy
sudo nano /etc/nginx/sites-enabled/proxy.conf
server
{
listen 80;
root /var/www/html;
index index.nginx-debian.html;
server_name paulligocki.com;
location /app/android/
{
proxy_pass http://10.3.3.3:9876/;
}
location /app/web/
{
proxy_pass http://10.7.7.7:4321/;
}
}
Ensure no errors
sudo nginx -t
Reload
sudo nginx -s reload