Skip to content
This repository has been archived by the owner on Sep 25, 2019. It is now read-only.

Commit

Permalink
precompiled asset
Browse files Browse the repository at this point in the history
  • Loading branch information
raymondtangsc committed Feb 18, 2014
1 parent e9fd433 commit b611e9b
Show file tree
Hide file tree
Showing 14 changed files with 56 additions and 3 deletions.
38 changes: 38 additions & 0 deletions prox.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
upstream nodes {
ip_hash;
server 192.241.237.84:80;
}

server {
listen 80;
server_name coursemology.com www.coursemology.com;
root /var/www/coursemology/public;

location / {
client_max_body_size 50M;
proxy_set_header Host $http_host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
if (-f $request_filename) {
break;
}

if (-f $request_filename/index.html) {
rewrite (.*) $1/index.html break;
}

if (-f $request_filename.html) {
rewrite (.*) $1.html break;
}

if (!-f $request_filename) {
proxy_pass http://nodes;
break;
}
}
location ~* .(jpg|png|gif|jpeg|css|mp3|wav|swf|mov|doc|pdf|xls|ppt|docx|pptx|xlsx)$ {
proxy_cache_valid 200 120m;
expires 604800;
proxy_pass http://apachesyslogtv;
proxy_cache cache;
}
}
15 changes: 15 additions & 0 deletions public/assets/application-7562ca47bfa7d24c11d566f785ed829e.css

Large diffs are not rendered by default.

Binary file not shown.
Binary file modified public/assets/application-7e62d4b78b73035e7c4866d2ab5d19f5.js.gz
Binary file not shown.
2 changes: 1 addition & 1 deletion public/assets/application.css

Large diffs are not rendered by default.

Binary file modified public/assets/application.css.gz
Binary file not shown.
Binary file modified public/assets/application.js.gz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified public/assets/bootstrap-wysihtml5.css.gz
Binary file not shown.
Binary file modified public/assets/bootstrap-wysihtml5.js.gz
Binary file not shown.
Binary file not shown.
Binary file modified public/assets/bootstrap-wysihtml5/wysiwyg-color.css.gz
Binary file not shown.
4 changes: 2 additions & 2 deletions public/assets/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ rails.png: rails-a3386665c05a2d82f711a4aaa72d247c.png
rails/index.png: rails-a3386665c05a2d82f711a4aaa72d247c.png
application.js: application-7e62d4b78b73035e7c4866d2ab5d19f5.js
application/index.js: application-7e62d4b78b73035e7c4866d2ab5d19f5.js
application.css: application-9ff2303c09bf040f70dc7ef3a8b545cc.css
application/index.css: application-9ff2303c09bf040f70dc7ef3a8b545cc.css
application.css: application-7562ca47bfa7d24c11d566f785ed829e.css
application/index.css: application-7562ca47bfa7d24c11d566f785ed829e.css
jqtree-circle.png: jqtree-circle-a3006377b40f4f77be9c5ae357ec5847.png
jqtree-circle/index.png: jqtree-circle-a3006377b40f4f77be9c5ae357ec5847.png
alpha.png: alpha-932f5a0406e65532a0a6fd4f7228bddb.png
Expand Down

0 comments on commit b611e9b

Please sign in to comment.