84669 person learning
152542 person learning
20005 person learning
5487 person learning
7821 person learning
359900 person learning
3350 person learning
180660 person learning
48569 person learning
18603 person learning
40936 person learning
1549 person learning
1183 person learning
32909 person learning
The original address is http://aaa.com/aaa.swf
The new address is http://bbb.com/bbb (no .swf, the program automatically loads it)
In this case, how can we achieve automatic loading of the new address (not jump) when accessing the source address?
走同样的路,发现不同的人生
location ~ ^/aaa.swf { root /var/www/bbb.com # the local file path of bbb # use rewrite to map aaa.swf to bbb }
If they are not on the same host, it can be achieved through a reverse proxy
Add the following statement in thebbb.com的server {}block.
bbb.com
server {}
location / { if ($uri = /bbb) { rewrite ^/bbb$ /aaa.swf break; proxy_pass http://aaa.com; } }
If they are not on the same host, it can be achieved through a reverse proxy
Add the following statement in the
bbb.com
的server {}
block.