Skip to content
This repository has been archived by the owner on Jul 26, 2021. It is now read-only.

Commit

Permalink
marketplace:nginx: allow '/api/v2/services/config/site/' via CDN.
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonthomas committed Oct 14, 2014
1 parent 4cac971 commit 834521e
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions modules/marketplace/templates/nginx/marketplace.conf
Expand Up @@ -94,10 +94,6 @@ server {
expires 1w;
}

location /api/v1/rocketfuel/collections/ {
try_files $uri @zamboni;
}

location ^~ <%= netapp_root %>/shared_storage/tmp/file_viewer/ {
internal;
alias <%= netapp_root %>/shared_storage/tmp/file_viewer/;
Expand Down Expand Up @@ -185,6 +181,15 @@ server {
try_files $uri @zamboni;
}

# api
location /api/v1/rocketfuel/collections/ {
try_files $uri @zamboni;
}

location /api/v2/services/config/site/ {
try_files $uri @zamboni;
}

location ~ '^/api/v\d+/(?:fireplace/search/|apps/category/|fireplace/collection/)' {
try_files $uri @zamboni;
}
Expand Down

0 comments on commit 834521e

Please sign in to comment.