Permalink
Browse files

Fix nginx config for api explorer

  • Loading branch information...
1 parent b5b100f commit 6babd7fa7fcda4b606213cceb0d1daee82235015 @autarch autarch committed Sep 2, 2012
Showing with 4 additions and 4 deletions.
  1. +4 −4 system/etc/nginx/sites-available/vegguide.org
@@ -44,10 +44,6 @@ server {
alias $var_dir/$1;
}
- location ~ ^/api-explorer {
- alias $share_dir/api-explorer
- }
-
location ~ ^(?:/\w+)?/(css|images)(.+) {
expires max;
alias $share_dir/$1$2;
@@ -74,6 +70,10 @@ server {
alias $share_dir/w3c;
}
+ location ^~ /api-explorer {
+ alias $share_dir/api-explorer;
+ }
+
location = /robots.txt {
root $share_dir/static;
}

0 comments on commit 6babd7f

Please sign in to comment.