随笔分类 -  Nginx

摘要:nginx location 配置 location ~* /admin/login { #set $my_ip ''; #if ( $http_x_forwarded_for !=client ip){set $my_ip 1;} #if ( $http_x_forwarded_for != cl 阅读全文
posted @ 2017-06-22 19:37 robotor 阅读(2732) 评论(0) 推荐(0)
摘要:#!/bin/bash#author zhzhao# chkconfig: - 85 15# description: Nginx is a World Wide Web server.# processname: nginx nginx=/mydata/nginx/nginx_web/sbin/n 阅读全文
posted @ 2017-01-17 11:21 robotor
摘要:转载之前的代理服务器Nginx配置是这样的server { listen 80; server_name *.*; location / { proxy_pass http://192.168.0.100:8001; ... 阅读全文
posted @ 2016-01-21 15:03 robotor
摘要:nginx error log2016/01/05 10:55:28 [crit] 15049#0: *143858 open() "nginx/proxy_temp/2/12/0000000122" failed (13: Permission denied) while reading upst... 阅读全文
posted @ 2016-01-05 11:42 robotor 阅读(2991) 评论(0) 推荐(0)