Skip to content

Instantly share code, notes, and snippets.

@nguyendangminh
Created August 7, 2017 11:16
Show Gist options
  • Save nguyendangminh/e04fb7682ead7572eb81e29af87dc46d to your computer and use it in GitHub Desktop.
Save nguyendangminh/e04fb7682ead7572eb81e29af87dc46d to your computer and use it in GitHub Desktop.
Caddyfile for Single Page Web Application
ticket.fpt.ai {
root /home/ubuntu/frontend/dist/
rewrite {
to {path} {path}/ /index.html
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment