From 0d8298d2c7491bb2d56c08af0c7a4fb28fbabc2d Mon Sep 17 00:00:00 2001 From: Gregory Eremin Date: Mon, 16 Mar 2015 17:46:30 +0700 Subject: [PATCH] Nginx headers and favicon alias --- nginx.conf | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/nginx.conf b/nginx.conf index c509905..96876fb 100644 --- a/nginx.conf +++ b/nginx.conf @@ -11,13 +11,17 @@ server { index hello.html; } location ~ ^/app/ { + add_header X-UA-Compatible IE=edge; + add_header Content-Language en; rewrite ^/app/(.*) /app.html last; } - location ~ ^/(auth|api)/ { proxy_pass http://empact; } + location /favicon.ico { + alias /home/empact/app/static/images/favicon.ico; + } location ~ .*\.(js|css|png)$ { add_header Cache-Control public; expires max;