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: README.md
+10-1Lines changed: 10 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -98,6 +98,9 @@ end
98
98
- **use_short_options** (`IMGPROXY_USE_SHORT_OPTIONS`) - Use short processing options names (`rs` for `resize`, `g` for `gravity`, etc). Default: true.
- **always_escape_plain_urls** (`IMGPROXY_ALWAYS_ESCAPE_PLAIN_URLS`) - Always escape plain source URLs even when ones don't need to be escaped. Default: false.
- **use_s3_urls** (`IMGPROXY_USE_S3_URLS`) - Use `s3://...` source URLs for Active Storage and Shrine attachments stored in Amazon S3. Default: false.
102
105
- **use_gcs_urls** (`IMGPROXY_USE_GCS_URLS`) - Use `gs://...` source URLs for Active Storage and Shrine attachments stored in Google Cloud Storage. Default: false.
- `base64_encode_url`— per-call redefinition of `base64_encode_urls` config.
329
332
- `escape_plain_url`— per-call redefinition of `always_escape_plain_urls` config.
330
333
- `use_short_options`— per-call redefinition of `use_short_options` config.
334
+
- `encrypt_source_url`- per-call redefinition of `always_encrypt_source_urls` config.
335
+
- `source_url_encryption_iv`- an initialization vector (IV) to be used for the source URL encryption if encryption is needed. If not specified, a random IV is used.
331
336
332
337
## Getting the image info
333
338
@@ -392,6 +397,8 @@ Imgproxy.configure do |config|
If you don't specify `key`, `salt`, `endpoint`, or `signature_size`, they are inherited from the global configuration.
419
+
If you don't specify `key`, `salt`, `endpoint`, `signature_size`, `source_url_encryption_key`, or `always_encrypt_source_urls`, they are inherited from the global configuration.
411
420
412
421
Pass the `service` option to `url_for` and `info_url_for`:
0 commit comments