Skip to content

Instantly share code, notes, and snippets.

@nahidacm
Last active March 8, 2023 09:37
Show Gist options
  • Save nahidacm/c9e15fa8bef3122880b25d2a26d871b2 to your computer and use it in GitHub Desktop.
Save nahidacm/c9e15fa8bef3122880b25d2a26d871b2 to your computer and use it in GitHub Desktop.
server {
listen 80;
server_name epiclabs23.com;
access_log /var/log/nginx/epiclabs23.com.log;
error_log /var/log/nginx/epiclabs23.com.error.log;
location / {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $http_host;
proxy_pass http://localhost:3011;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment