1
0
Fork 0

Nginx headers and favicon alias

This commit is contained in:
Gregory Eremin 2015-03-16 17:46:30 +07:00
parent 5a716f8338
commit 0d8298d2c7
1 changed files with 5 additions and 1 deletions

View File

@ -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;