diff --git a/srcs/nginx/nginx.conf b/srcs/nginx/nginx.conf index 566ef0a..8088c1f 100644 --- a/srcs/nginx/nginx.conf +++ b/srcs/nginx/nginx.conf @@ -10,7 +10,7 @@ server { index index.php; location / { - try_files $uri $uri/ =404; + try_files $uri $uri/ /index.php?$args; } location ~ \.php$ { include fastcgi_params;