ispconfig使用nginx 反向代理
修改为
其它不变
server {listen 8.8.8.8:80; #把8.8.8.8改成你的IP即可server_name _; #泛域名支持expires 1d;gzip on;# gzip_static on;gzip_proxied any;gzip_disable "MSIE [1-5]\.";gzip_comp_level 9;gzip_min_length 1000;gzip_buffers 4 8k;gzip_types text/plain application/x-javascript text/css text/html application/xml text/javascript;location / {proxy_pass http://127.0.0.1:80 ;proxy_redirect off;proxy_set_header Host $host;proxy_set_header X-Real-IP $remote_addr;}}


