Created
March 29, 2017 21:41
-
-
Save safaorhan/c866c88d6333be3d63c81712ab26005b to your computer and use it in GitHub Desktop.
Deployd API & Vue Admin Panel | Nginx Config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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