26 lines
527 B
Plaintext
Raw Normal View History

2021-01-22 23:21:42 +01:00
server {
2021-01-23 00:15:42 +01:00
listen 443 ssl http2;
listen [::]:443 ssl http2;
2021-01-22 23:21:42 +01:00
2021-01-23 00:10:53 +01:00
root /var/www/html;
index index.html;
2021-01-22 23:21:42 +01:00
2021-01-23 00:10:53 +01:00
server_name cloud.domain.com;
2021-01-22 23:21:42 +01:00
2021-01-23 00:10:53 +01:00
ssl_certificate /etc/letsencrypt/live/cloud.domain.com/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/cloud.domain.com/privkey.pem;
2021-01-22 23:21:42 +01:00
2021-01-23 00:10:53 +01:00
client_body_in_file_only clean;
client_body_buffer_size 128K;
2021-01-22 23:21:42 +01:00
2021-01-23 00:10:53 +01:00
client_max_body_size 5g;
2021-01-22 23:21:42 +01:00
2021-01-23 00:10:53 +01:00
sendfile on;
send_timeout 600s;
2021-01-22 23:21:42 +01:00
2021-01-23 00:10:53 +01:00
location / {
proxy_pass http://192.168.2.2/;
2021-01-23 00:31:55 +01:00
include /etc/nginx/snippets/proxy_options.conf;
2021-01-23 00:10:53 +01:00
}
2021-01-22 23:21:42 +01:00
}