|
发表于 2024-5-10 10:44:42
|
显示全部楼层
Nginx - server {
- listen 80;
- server_name abc.com;
- location / {
- proxy_pass http://88.88.88.88;
- proxy_set_header Host $host;
- proxy_set_header X-Real-IP $remote_addr;
- proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
- proxy_set_header X-Forwarded-Proto $scheme;
- }
- }
复制代码
Apache - <VirtualHost *:80>
- ServerName abc.com
- ProxyPreserveHost On
- ProxyPass / http://88.88.88.88/
- ProxyPassReverse / http://88.88.88.88/
- </VirtualHost>
复制代码
或者你也可以单独租个小鸡装个fikker专门做加速 |
|