nextcloud / nextcloud/documentation
Add keepalive in nginx configuration
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 628
- Forks
- 2.5k
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 135
Description
Hello,
Why not add a keepalive 32 for example in the nginx configuration : https://docs.nextcloud.com/server/latest/admin_manual/installation/nginx.html . In the nginx doc, it is advised for performance issue : https://www.nginx.com/blog/tuning-nginx/ :
upstream php-handler {
server 127.0.0.1:9000;
keepalive 64; # add this line
#server unix:/var/run/php/php7.4-fpm.sock;
}
[...]
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name cloud.example.com;
# dont forget to add these lines !!!!
proxy_http_version 1.1;
proxy_set_header Connection "";
[...]
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the nginx installation page at docs.nextcloud.com/server/latest/admin_manual/installation/nginx.html and compare its upstream and server examples with the linked NGINX tuning guidance. Confirm whether the keepalive and proxy directives apply to the documented setup; done means the page clearly reflects the agreed configuration or explains why it is not included.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- nginx
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100