@@ -35,7 +35,8 @@ Gateway CDN. See the Akamai docs on
35
35
Make the following behavior changes:
36
36
37
37
1 . Configure the Origin URL to point to the URL given to you by Zuplo for your
38
- API gateway. This would look something similar to below:
38
+ API gateway. Ensure that the Forward Host Header is configured to be the
39
+ Origin Hostname. This would look something similar to below:
39
40
![ api_gateway_origin_url] ( ../../../public/media/managed-dedicated-akamai/api_gateway_origin_url.png )
40
41
41
42
2 . Turn on Content Targeting (Edgescape) in the Geolocation rule in the Property
@@ -62,19 +63,17 @@ Under the Default Rule page, add the following behaviors:
62
63
63
64
2 . Modify Incoming Request Header behavior, with the following fields: Action:
64
65
Add, Select Header Name: Other, Custom Header Name: X-Forwarded-Host, Header
65
- Value: \{\{ builtin.AK_HOST\}\} .
66
+ Value: \{\{ builtin.AK_HOST\}\} . This should look like the picture below:
66
67
67
- These behaviors should look like the picture below:
68
+ ![ dev_portal_cdn_base_path_and_incoming_header_behaviors ] ( ../../../public/media/managed-dedicated-akamai/default_rule_dev_portal_config.png )
68
69
69
- ![ dev_portal_cdn_base_path_and_incoming_header_behaviors] ( ../../../public/media/managed-dedicated-akamai/default_rule_dev_portal_config.png )
70
+ 3 . Caching, which should have the following configurations: Caching Option
71
+ should be set to "Honor origin Cache-Control and Expires", Force Validation
72
+ of stale objects should be set to "Always revalidate with origin", Default
73
+ Maxage should be set to 0 seconds, and all the Cache-Control header
74
+ directives should be enabled. This will look like below:
70
75
71
- 3 . Caching, which should have the following configurations: Caching Option
72
- should be set to "Honor origin Cache-Control and Expires", Force Validation
73
- of stale objects should be set to "Always revalidate with origin", Default
74
- Maxage should be set to 0 seconds, and all the Cache-Control header
75
- directives should be enabled. This will look like below:
76
-
77
- ![ dev_portal_caching_behavior] ( ../../../public/media/managed-dedicated-akamai/dev_portal_cdn_caching_behavior.png )
76
+ ![ dev_portal_caching_behavior] ( ../../../public/media/managed-dedicated-akamai/dev_portal_cdn_caching_behavior.png )
78
77
79
78
Congratulations, you've set up your Akamai CDNs to serve your API Gateway and
80
79
Developer Portal! At this point, you should be able to test that these things
0 commit comments