Skip to content

Instantly share code, notes, and snippets.

@rahul286
Last active November 7, 2016 12:13
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 rahul286/a016cad58a631f44ba629fe86464c110 to your computer and use it in GitHub Desktop.
Save rahul286/a016cad58a631f44ba629fe86464c110 to your computer and use it in GitHub Desktop.
Proxy to recruitee.com host
server {
server_name c.rtcamp.com www.c.rtcamp.com;
access_log /var/log/nginx/c.rtcamp.com.access.log rt_cache;
error_log /var/log/nginx/c.rtcamp.com.error.log;
location / {
proxy_pass https://rtcamp.recruitee.com;
proxy_set_header Host rtcamp.recruitee.com;
proxy_set_header X-Real-IP $remote_addr;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment