aboutsummaryrefslogtreecommitdiffhomepage
path: root/docker/development/nginx.conf
diff options
context:
space:
mode:
Diffstat (limited to 'docker/development/nginx.conf')
-rw-r--r--docker/development/nginx.conf5
1 files changed, 5 insertions, 0 deletions
diff --git a/docker/development/nginx.conf b/docker/development/nginx.conf
index cda09b56..e714ee76 100644
--- a/docker/development/nginx.conf
+++ b/docker/development/nginx.conf
@@ -49,6 +49,11 @@ http {
49 add_header Cache-Control "public, must-revalidate, proxy-revalidate"; 49 add_header Cache-Control "public, must-revalidate, proxy-revalidate";
50 } 50 }
51 51
52 location = /favicon.ico {
53 # serve the Shaarli favicon from its custom location
54 alias /var/www/shaarli/images/favicon.ico;
55 }
56
52 location ~ (index)\.php$ { 57 location ~ (index)\.php$ {
53 # filter and proxy PHP requests to PHP-FPM 58 # filter and proxy PHP requests to PHP-FPM
54 fastcgi_pass unix:/var/run/php5-fpm.sock; 59 fastcgi_pass unix:/var/run/php5-fpm.sock;