blog.chensong.info.conf
修改apache配置文件 httpd.conf line:42
Listen 3001
1 2 3 4 5 6 7 8 9 10 11
| server { listen 80; server_name blog.chensong.info; location / { proxy_set_header Host $host:$server_port; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_pass http://腾讯云ip:3001; } }
|
mc.chensong.info.conf
1 2 3 4 5 6 7 8 9 10 11
| server { listen 80; server_name mc.chensong.info;
location / { proxy_set_header Host $host:$server_port; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_pass http://腾讯云ip:3002; } }
|