diff --git a/docker/nginx/nginx.conf b/docker/nginx/nginx.conf index 92253e3..c95737e 100644 --- a/docker/nginx/nginx.conf +++ b/docker/nginx/nginx.conf @@ -30,10 +30,15 @@ http { server_name _; root /var/www/html; + location / { try_files $uri $uri/ /index.php$is_args$args; } + location = /favicon.ico { + try_files $uri =204; + } + location ~ \.php$ { fastcgi_split_path_info ^(.+\.php)(/.+)$; fastcgi_pass php-fpm:9000;