Configure Nginx reverse proxy
Настроить обратный прокси Nginx
配置 Nginx 反向代理
Nginx-Reverse-Proxy konfigurieren
Configurer le proxy inverse Nginx
Configurar proxy inverso Nginx
Configurar proxy reverso Nginx
Nginxリバースプロキシの設定
Nginx 리버스 프록시 구성
تشغيل وكيل Squid
sudo tee /etc/nginx/sites-available/reverse << 'EOF'
server {
    listen 80;
    server_name api.example.com;
    
    location / {
        proxy_pass http://localhost:3000;
        proxy_set_header Host $host;
        proxy_set_header X-Real-IP $remote_addr;
    }
}
EOF