diff --git a/nginx.conf b/nginx.conf index 6b303921..36407b4b 100644 --- a/nginx.conf +++ b/nginx.conf @@ -6,6 +6,9 @@ http { server { error_page 404 /index.html; root /usr/share/nginx/html; + location / { + try_files $uri $uri/ /index.html; + } location ~* \.(?:ico|css|js|gif|jpe?g|png)$ { expires 1y; add_header Pragma public;