nginx_config/sites-available/nextcloud

27 lines
575 B
Plaintext

server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
root /var/www/html;
index index.html;
server_name cloud.domain.com;
ssl_certificate /etc/letsencrypt/live/cloud.domain.com/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/cloud.domain.com/privkey.pem;
include /etc/nginx/snippets/ssl_options.conf;
client_body_in_file_only clean;
client_body_buffer_size 128K;
client_max_body_size 5g;
sendfile on;
send_timeout 600s;
location / {
proxy_pass http://192.168.2.2/;
include /etc/nginx/snippets/proxy_options.conf;
}
}