修改Minio文档
This commit is contained in:
16
File/Conf/minio-nginx-default-old.conf
Normal file
16
File/Conf/minio-nginx-default-old.conf
Normal file
@@ -0,0 +1,16 @@
|
||||
server {
|
||||
listen 9000 ssl;
|
||||
server_name localhost; # 这里替换自己的域名
|
||||
|
||||
client_max_body_size 1024m; # 限制上传文件大小
|
||||
|
||||
ssl_certificate /etc/nginx/conf.d/cert/tls.crt;
|
||||
ssl_certificate_key /etc/nginx/conf.d/cert/tls.key;
|
||||
|
||||
location / {
|
||||
proxy_set_header X-FORWARDED-FOR $remote_addr;
|
||||
proxy_set_header X-FORWARDED-PROTO $scheme;
|
||||
proxy_set_header Host $http_host;
|
||||
proxy_pass http://minio:9000;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user