Skip to content

Instantly share code, notes, and snippets.

@badouralix
badouralix / default.conf
Last active October 21, 2017 17:09
Docker nginx:alpine configuration for vue-router in HTML5 mode
server {
listen 80 default_server;
listen [::]:80 default_server;
server_name localhost;
root /usr/share/nginx/html;
index index.html;
location / {
try_files $uri $uri/ @rewrites;