An Otter Wiki
Attachments
History
Blame
View Source
Changelog
Documentation
Toggle dark mode
Login
Home
A - Z
Menu
Installation
Configuration
FAQ
Customization
Development
Examples
An Otter Wiki
Installation
291014
Commit
291014
2024-06-08 23:49:27
Ralph Thesen
: Bump up the client_max_body_size up to 64MB to allow using attachments.
installation.md
..
@@ 181,11 181,12 @@
server_name wiki.domain.tld;
listen 80;
location / {
-
proxy_set_header Host $http_host;
-
proxy_set_header X-Real-IP $remote_addr;
-
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
-
proxy_set_header X-Forwarded-Host $http_host;
-
proxy_pass http://127.0.0.1:8080;
+
proxy_set_header Host $http_host;
+
proxy_set_header X-Real-IP $remote_addr;
+
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
+
proxy_set_header X-Forwarded-Host $http_host;
+
proxy_pass http://127.0.0.1:8080;
+
client_max_body_size 64M; # for attachments of a size up to 64 Mb
}
}
```
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9