docker-compose部署openresty
compose配置文件 services:
openresty:
image: harbor.bomsorte.com:1443/base/openresty:1.27.1.2
container_name: openresty
restart: always
p
linux
未读
nginx 代理阿里云oss桶
在阿里云oss桶中绑定自定义域名 nginx 配置,其中/C/kuku-phl/web-mobile是桶中文件目录 server {
server_name pwa.cashcc13.cc;
listen 80;
location =/ {
proxy_pass http
linux
未读
nginx 日志切割
方法:需要使用到 timeiso8601内嵌变量来获取时间。 time_iso8601 内嵌变量来获取时间。time iso8601内嵌变量来获取时间。time_iso8601格式如下:2018-09-21T16:01:02+02:00。然后使用正则表达式来获取所需时间的数据 注意层次关系,这段脚本

