This repository has been archived by the owner on Sep 25, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e9fd433
commit b611e9b
Showing
14 changed files
with
56 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
15
public/assets/application-7562ca47bfa7d24c11d566f785ed829e.css
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
public/assets/application-7e62d4b78b73035e7c4866d2ab5d19f5.js.gz
Binary file not shown.
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
public/assets/bootstrap-wysihtml5-757ecf6fbb670d36519a49c514ec3ea5.css.gz
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
public/assets/bootstrap-wysihtml5-fa8bf12777a06ff41f34a2a8266e64b4.js.gz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
public/assets/bootstrap-wysihtml5/wysiwyg-color-302f69eedfbd67c993f8ce2bc64c971c.css.gz
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters