Skip to content

Instantly share code, notes, and snippets.

@mikehelland
Created November 25, 2020 01:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mikehelland/9a2bb58473c81bff9bceff1ecae8970e to your computer and use it in GitHub Desktop.
Save mikehelland/9a2bb58473c81bff9bceff1ecae8970e to your computer and use it in GitHub Desktop.
nginx reverse
server {
listen 80;
server_name sysmon.tecmint.lan;
location / {
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header Host $http_host;
proxy_pass http://192.168.43.31:5000;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment