nginx_config/sites-available/default
2021-10-03 03:30:27 +02:00

24 lines
483 B
Plaintext

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