Commit e597dec3 authored by Jason DeWitt's avatar Jason DeWitt
Browse files

adding section about S3_UPLOADS_DISABLE_REPLACE_UPLOAD_URL to readme.me

parent a9ac2720
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -147,6 +147,11 @@ By default, S3 Uploads will use the canonical S3 URIs for referencing the upload
// Define the base bucket URL (without trailing slash)
define( 'S3_UPLOADS_BUCKET_URL', 'https://your.origin.url.example/path' );
```
S3 Uploads' URL rewriting feature can be disabled if the current website does not require it, nginx proxy to s3 etc. In this case the plugin will only upload files to the S3 bucket.
```PHP
// disable URL rewriting alltogether
define( 'S3_UPLOADS_DISABLE_REPLACE_UPLOAD_URL', true );
```

Offline Development
=======