Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
Loudbooks committed Dec 12, 2024
2 parents 1e8c9e6 + 2625d97 commit c5965a8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ TITLE=
DESCRIPTION=
DISABLE_NEW=
FAVICON_URL=
MAX_PAYLOAD_SIZE=
```

All of the following are optional. You can leave it all blank, or not even have a `.env` file at all.
Expand All @@ -32,6 +33,8 @@ All of the following are optional. You can leave it all blank, or not even have

`FAVICON_URL` - The URL that the favicon will be provided with.

`MAX_PAYLOAD_SIZE` - The maximum paste size in megabytes.

### Creation
Run the following.
```bash
Expand Down
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ services:
- DESCRIPTION=${DESCRIPTION}
- DISABLE_NEW=${DISABLE_NEW}
- FAVICON_URL=${FAVICON_URL}
- MAX_PAYLOAD_SIZE=${MAX_PAYLOAD_SIZE}
depends_on:
- backend
networks:
Expand Down
2 changes: 0 additions & 2 deletions pastebook.conf
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,6 @@ server {
ssl_ciphers HIGH:!aNULL:!MD5;
ssl_prefer_server_ciphers on;

client_max_body_size 6M;

location / {
proxy_buffering off;
proxy_set_header X-Real-IP $remote_addr;
Expand Down

0 comments on commit c5965a8

Please sign in to comment.