You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/cloud/redirects.md
+15Lines changed: 15 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -126,3 +126,18 @@ rewrites:
126
126
pathname: '/(favicon.ico|.well-known|dist)/*?'
127
127
destination: '{artifactBaseUrl}/{request.uri}'
128
128
```
129
+
130
+
### Custom Headers <Since ver="2.16.0" repo="craftcms/cloud-extension-yii2" product="Cloud extension" description="The ability to set custom headers in rewrite rules was added in {product} {ver}." :use-changelog="false" />
131
+
132
+
You can set arbitrary HTTP headers on any rewritten response by including a key-value map under a `headers` key:
0 commit comments