Nginx headers and favicon alias
This commit is contained in:
parent
5a716f8338
commit
0d8298d2c7
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue