Merge pull request #187 from codedge/master

No logs for favicon and robots
This commit is contained in:
codedge
2020-08-17 07:44:03 +02:00
committed by GitHub

View File

@@ -1,5 +1,5 @@
server {
listen 80;
listen 80 default_server;
server_name in.localhost;
root /var/www/app/public/;
@@ -9,6 +9,9 @@ server {
try_files $uri $uri/ /index.php?$query_string;
}
location = /favicon.ico { access_log off; log_not_found off; }
location = /robots.txt { access_log off; log_not_found off; }
location ~ \.php$ {
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_pass app:9000;