Skip to content

Commit

Permalink
Specify assets path to route static files
Browse files Browse the repository at this point in the history
  • Loading branch information
shirokanezoo committed Oct 31, 2015
1 parent 48c5d33 commit 1078809
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion 5f/config/nginx.conf
Expand Up @@ -48,7 +48,9 @@ http {
server {
listen 80;

root /home/isucon/shirokanezoo/5f/webapp/static;
location ~ ^/(js|css|fonts)/ {
root /home/isucon/shirokanezoo/5f/webapp/static;
}

location / {
proxy_http_version 1.1;
Expand Down

0 comments on commit 1078809

Please sign in to comment.