Created
July 11, 2018 08:19
-
-
Save masiur/04f7568c45149ddfdaed40244c14b2dd to your computer and use it in GitHub Desktop.
Vue.js Nginx Configuration ( history mode )
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 { | |
| root /var/www/html/example.com/example-project-directory/dist; | |
| index index.html index.htm index.nginx-debian.html; | |
| server_name example.com www.example.com; | |
| location / { | |
| try_files $uri $uri/ /index.html; | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment