Commit 71cc13cb authored by Joe Hoyle's avatar Joe Hoyle Committed by GitHub
Browse files

Merge pull request #181 from jasondewitt/disable-replace-upload-url-doc

adding section about S3_UPLOADS_DISABLE_REPLACE_UPLOAD_URL to readme.md
parents a9ac2720 e597dec3
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
=======