We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a0d777b + 2f6cd23 commit 2c72396Copy full SHA for 2c72396
playbooks/roles/nginx/templates/edx/app/nginx/sites-available/prospectus.j2
@@ -120,6 +120,15 @@ server {
120
{% endif %}
121
}
122
123
+ # want to avoid caching app-data.json file as an out-of-date hash leads to the application refreshing
124
+ location /page-data/ {
125
+ port_in_redirect off;
126
+ add_header Cache-Control "no-store, max-age=0";
127
+ proxy_pass http://edx-stage-prospectus-static.s3-website-us-east-1.amazonaws.com/71058f2-5803$request_uri;
128
+ # Hide client headers from S3 to prevent request headers too big error
129
+ proxy_pass_request_headers off;
130
+ }
131
+
132
# favicon is requested a lot. cache it at the edge.
133
134
location /favicon.ico {
0 commit comments