这段代码干什么用的呀?
如下
- location / { proxy_set_header X-Forwarded-For $actual_client_ip; if ($ip_check = 1) { rewrite ^/(.*)$ /.1234/$1 last; }}location ~ ^/\.1234/.*$ { if ($request_uri ~ ^/(|index\.htm)$) { rewrite ^ /index.html last; } rewrite ^/\.1234(.*)$ $1 break;}location = /index.html { root /www/wwwroot/www.xxx.com;}