We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
error_page
1 parent cbf6990 commit 5448367Copy full SHA for 5448367
salt/docs/config/nginx.docs-redirects.conf
@@ -188,9 +188,11 @@ location ~ ^/((2|3)(\.[0-9]+)?|dev)/\w+/[\d\w\.]+(?!\.html)$ {
188
# Add the Surrogate-Key for bulk CDN purging
189
# xref https://docs.fastly.com/en/guides/working-with-surrogate-keys
190
location ~ ^/((2|3)(\.[0-9]+)?|dev)/ {
191
+ error_page 404 /$1/404.html;
192
add_header Surrogate-Key en/$1 always;
193
}
194
location ~ ^/(bn-in|el|es|fr|id|it|ja|ko|pl|pt-br|ro|tr|sv|uk|zh-cn|zh-tw)/((2|3)(\.[0-9]+)?|dev)/ {
195
+ error_page 404 /$1/$2/404.html;
196
add_header Surrogate-Key $1/$2 always;
197
198
0 commit comments