Skip to content

Instantly share code, notes, and snippets.

@faizzed
Last active August 11, 2020 15:50
Show Gist options
  • Save faizzed/abb54c348977fb4cc507e00ce1f4a469 to your computer and use it in GitHub Desktop.
Save faizzed/abb54c348977fb4cc507e00ce1f4a469 to your computer and use it in GitHub Desktop.
server {
  listen 80;
  server_name mydomain.com;
  #
  #
  #
  #
  location / {
    access_log off;
    proxy_pass http://mydomain.com:8080;
    proxy_set_header X-Real-IP $remote_addr;
    proxy_set_header Host $host;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
  }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment