分类
CDN

nginx 保护特定的文件后缀 禁止特殊后缀访问

location ~\.(ini|log|conf|db)$ { deny all; return 405; […]

分类
Nginx

nginx websocket 支持

Adding websocket support Couhbase Lite iOS 1.0.3 introd […]

分类
代码片段 原创程序

Google Time Zone API

以经纬度定位时区 谷歌提供的API

分类
懒得分类

force file download in the browser, nginx server

You just need to return HTTP header Content-disposition […]