Skip to content

Instantly share code, notes, and snippets.

@marcelblijleven
Created November 7, 2019 16:27
Show Gist options
  • Save marcelblijleven/5573986aad19951e22e950bb6bd1dd58 to your computer and use it in GitHub Desktop.
Save marcelblijleven/5573986aad19951e22e950bb6bd1dd58 to your computer and use it in GitHub Desktop.
forward subdomain to port with nginx
server {
listen 80;
server_name sub.marcelblijleven.com;
location / {
proxy_pass http://localhost:3000/;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment