Skip to content

Instantly share code, notes, and snippets.

@safaorhan
Created March 29, 2017 21:41
Show Gist options
  • Save safaorhan/c866c88d6333be3d63c81712ab26005b to your computer and use it in GitHub Desktop.
Save safaorhan/c866c88d6333be3d63c81712ab26005b to your computer and use it in GitHub Desktop.
Deployd API & Vue Admin Panel | Nginx Config
server {
listen 80;
server_name api.my.domain.com;
location / {
proxy_pass http://localhost:3000;
}
}
server {
listen 80;
server_name my.domain.com;
location / {
root /home/vue-admin-panel/dist;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment