forked from mtusi2026/mtusi2026lab7
16 lines
391 B
Plaintext
16 lines
391 B
Plaintext
server {
|
|
listen 8443 ssl;
|
|
ssl_certificate /tls/server/cert.crt;
|
|
ssl_certificate_key /tls/server/cert.key;
|
|
ssl_protocols TLSv1.2 TLSv1.3;
|
|
|
|
client_max_body_size 20m;
|
|
|
|
location / {
|
|
proxy_pass http://127.0.0.1:8333;
|
|
proxy_set_header Host $http_host;
|
|
proxy_http_version 1.1;
|
|
proxy_request_buffering off;
|
|
proxy_buffering off;
|
|
}
|
|
} |