标签:避免 director mpp oca 监听 front stream 用处 doc
1、MySql数据库,单独创建用户和数据库
使用MySql-Front导入,避免使用Navicat导入
2、httpd-vhosts.conf配置
文件位于:D:\Xampp\apache\conf\extra
<VirtualHost *:6666> DocumentRoot "D:/XXXX" ServerName XXX.YYY.ZZZ ServerAlias XXX.YYY.ZZZ <Directory "D:/XXXX"> Options -Indexes AllowOverride All Require all granted </Directory> </VirtualHost>
3、nginx配置,在nginx中配置
upstream xxx_pool{ server 127.0.0.1:6666; }
#6666 server { listen 80; server_name xxx.yyy.zzz; #将所有请求转发给pano_pool池的应用处理 location / { proxy_set_header Host $host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_pass http://xxx_pool; } }
4、nginx重新加载配置
nginx -s reload
5、XAMPP监听端口配置
标签:避免 director mpp oca 监听 front stream 用处 doc
原文地址:https://www.cnblogs.com/defineconst/p/10987231.html