标签:live form erer cat 反向代理 nginx服务器 cti 替换 mat
location /lile { 配置一: proxy_pass http://192.168.0.37/; 配置二: proxy_pass http://192.168.0.37; }
环境说明:
反向代理服务器:192.168.0.224
真实数据机器:192.168.0.37
worker_processes 1; events { worker_connections 1024; } http { include mime.types; default_type application/octet-stream; sendfile on; keepalive_timeout 65; server { listen 80; server_name localhost; root /web1 location /lile { root /data; index index.html; } } }
mkdir /web1 echo "My location is /web1" > index.html mkdir -p /data/lile echo "My location is /data/lile" > index.html
worker_processes 1; events { worker_connections 1024; } http { include mime.types; default_type application/octet-stream; log_format main ‘$remote_addr - $remote_user [$time_local] "$request" ‘ ‘$status $body_bytes_sent "$http_referer" ‘ ‘"$http_user_agent" "$http_x_forwarded_for"‘; access_log logs/access.log main; sendfile on; keepalive_timeout 65; server { listen 80; server_name localhost; location /lile { 配置一:proxy_pass http://192.168.0.37; 配置二:proxy_pass http://192.168.0.37/ } } }
location / { 配置一: proxy_pass http://192.168.0.37/; 配置二: proxy_pass http://192.168.0.37; }
标签:live form erer cat 反向代理 nginx服务器 cti 替换 mat
原文地址:http://www.cnblogs.com/lemon-le/p/7800879.html