Skip to content

Instantly share code, notes, and snippets.

@abhi-io
Last active November 1, 2025 04:39
Show Gist options
  • Select an option

  • Save abhi-io/6561cfd0443222116275d3a019aab330 to your computer and use it in GitHub Desktop.

Select an option

Save abhi-io/6561cfd0443222116275d3a019aab330 to your computer and use it in GitHub Desktop.
nginx rev proxy tmp
server {
listen 80;
server_name uat-3-pmdtvm.ihrd.ac.in;
location / {
proxy_pass http://127.0.0.1:5137;
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;
}
}
server: {
host: true,
port: 5137,
allowedHosts: ['uat-3-pmdtvm.ihrd.ac.in']
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment