11) app.set('trust proxy', true) in your Express app.
22) Add proxy_set_header X-Forwarded-For $remote_addr in3 the Nginx configuration for your server block.
4// sudo nano /etc/nginx/sites-available/default
you will get a confirmation link on this - you will have to click that for successful submission of your answer. we require this to keep the website free of spam, bots and unhelpful content
please ensure to add code which is syntactically corrent and executes properly
you will get a confirmation link on this - you will have to click that for successful submission of your question. we require this to keep the website free of spam, bots and unhelpful content