Skip to content

Commit

Permalink
add a warning for the newly configured Access-Control-Allow-Origin he…
Browse files Browse the repository at this point in the history
…ader
  • Loading branch information
mszulik committed Sep 12, 2024
1 parent f2c616e commit b750552
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,11 @@ To configure an AWS SQS queue, see the according keys in the `.env`.

### Local disk setup

> [!WARNING]
> For the docker setup, to be able to deliver videos, the `Access-Control-Allow-Origin` header is currently set to '*'. This means every website can embed your videos.
>
> If you want to restrict this, you can mount your own configuration at `/opt/docker/etc/nginx/vhost.common.d/10-location-root.conf`. The current config can be found at `docker/location-root.conf`.
#### Prerequisites for video functionality

- File storage accessible at `storage/app/videos`
Expand Down

0 comments on commit b750552

Please sign in to comment.