]> git.immae.eu Git - github/shaarli/Shaarli.git/blobdiff - docker/production/nginx.conf
Docker: set favicon location in nginx configuration
[github/shaarli/Shaarli.git] / docker / production / nginx.conf
index e23c4587da122c790f26c6893838280c39b03908..f7d59fc88c479ccfb58c44c6634b5aa9d09b937e 100644 (file)
@@ -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;