Nginx reverse proxy block

server {
server_name dev-api.example.net;

    location / {
    proxy_pass http://localhost:3000;
    proxy_http_version 1.1;
    proxy_set_header Upgrade $http_upgrade;
    proxy_set_header Connection 'upgrade';
    proxy_set_header Host $host;
    proxy_cache_bypass $http_upgrade;
}

access_log /var/log/nginx/access;
error_log /var/log/nginx/error;
}

Leave a comment

Nedim's IT CORNER

Far and away the best prize that life offers is the chance to work hard at work worth doing

Firmware Security

Hastily-written news/info on the firmware security/development communities, sorry for the typos.

CISA Analysis Reports

I am an AWS solutions architect and cloud admin. I wants to share my thoughts and acquired knowledge towards various systems through this site.