|
楼主 |
发表于 2018-1-23 17:43:13
|
显示全部楼层
EIZOFANS 发表于 2018-1-23 18:02
NG我已经试过了,完全没问题,但CADDY不行,目前还没有找到原因,现在初步怀疑是内存太小导致的,128MB内存yc0 ...
xx.xx { # 启动 http 和 https,访问 http 会自动转跳到 https
#log access_log.log # 日志
timeouts none
gzip # 使用gzip压缩
proxy / http://172.19.0.1:8000 { # 路径转发
header_upstream Host {host}
header_upstream X-Real-IP {remote}
header_upstream X-Forwarded-For {remote}
header_upstream X-Forwarded-Proto {scheme}
}
} |
|