nginx
BishopTylaor
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
nginx 服务器重启关闭重新加载
nginx -s reload :修改配置后重新加载生效 nginx -s reopen :重新打开日志文件 nginx -t 测试nginx配置文件是否正确 检查正确性时,出现: nginx: the configuration file /home/kratos/local/nginx/conf/nginx.conf syntax is ok nginx: [eme原创 2017-03-23 18:39:18 · 730 阅读 · 0 评论 -
nginx CORS 配置
nginx 跨域请求 # # Wide-open CORS config for nginx # location / { if ($request_method = ‘OPTIONS’) { add_header ‘Access-Control-Allow-Origin’ ‘*’; # # Om nom nom cookies # add_header ‘Access-Contro...原创 2018-03-02 12:00:24 · 792 阅读 · 0 评论
分享