20 lines
608 B
Plaintext
Executable File
20 lines
608 B
Plaintext
Executable File
server {
|
|
listen 443 ssl http2;
|
|
server_name ftp.awin.one;
|
|
|
|
# Load the certificate files.
|
|
ssl_certificate /etc/letsencrypt/live/ftp.awin.one/fullchain.pem;
|
|
ssl_certificate_key /etc/letsencrypt/live/ftp.awin.one/privkey.pem;
|
|
ssl_trusted_certificate /etc/letsencrypt/live/ftp.awin.one/chain.pem;
|
|
|
|
location / {
|
|
proxy_pass http://192.168.1.24:8040/;
|
|
proxy_set_header Host $http_host;
|
|
proxy_set_header X-Real-IP $remote_addr;
|
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
|
|
client_max_body_size 1048576M;
|
|
}
|
|
}
|
|
|