X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=docker%2Fproduction%2Fstable%2Fnginx.conf;h=f7d59fc88c479ccfb58c44c6634b5aa9d09b937e;hb=b7f8b874bb9f2028c29b1f22f893fabec2836de8;hp=e23c4587da122c790f26c6893838280c39b03908;hpb=849d1650c1af853162b749af896c20bb25d4a4e8;p=github%2Fshaarli%2FShaarli.git diff --git a/docker/production/stable/nginx.conf b/docker/production/stable/nginx.conf index e23c4587..f7d59fc8 100644 --- a/docker/production/stable/nginx.conf +++ b/docker/production/stable/nginx.conf @@ -41,6 +41,11 @@ http { add_header Cache-Control "public, must-revalidate, proxy-revalidate"; } + location = /favicon.ico { + # serve the Shaarli favicon from its custom location + alias /var/www/shaarli/images/favicon.ico; + } + location ~ (index)\.php$ { # filter and proxy PHP requests to PHP-FPM fastcgi_pass unix:/var/run/php5-fpm.sock;