摘要: 1.nginx需要编译Purge模块 2.nginx.conf 配置cache: proxy_cache_path /home/cache/xxx levels=1:2 keys_zone=cache_xxx:1000m inactive=24h max_size=10g; 3.代理服务器配置: 记 阅读全文
posted @ 2017-07-04 16:01 行知散人 阅读(524) 评论(0) 推荐(0) 编辑
摘要: $request_uri This variable is equal to the *original* request URI as received from the client including the args. It cannot be modified. Look at $uri 阅读全文
posted @ 2017-07-04 15:43 行知散人 阅读(13893) 评论(0) 推荐(0) 编辑
摘要: systemd很强大的管理工具,这里简单用来管理一个进程: [Unit]Description=Imges Compress Server [Service]Type=simpleExecStart=/opt/app/php7/bin/php /data/www/imgserver/artisan 阅读全文
posted @ 2017-07-04 11:07 行知散人 阅读(702) 评论(0) 推荐(0) 编辑