diff --git a/docker/nginx.conf b/docker/nginx.conf index cef55a2..f413fc6 100644 --- a/docker/nginx.conf +++ b/docker/nginx.conf @@ -3,8 +3,12 @@ server { root /app/public; index index.html; + location = / { + try_files /index.html /index.php$is_args$args; + } + location / { - try_files $uri /index.html /index.php$is_args$args; + try_files $uri /index.php$is_args$args; } location ~ \.php$ {