rewrite nginx
我想大声告诉你
我想大声告诉你 2017-05-16 17:18:16
0
2
372
http://example.com:8000/image/ -> https://example1.com/

How to write such a redirect?
I triedrewrite ^(/image)$ https://example1.com/ permenant
The result is redirected to https://example1.com/image/

我想大声告诉你
我想大声告诉你

reply all(2)
迷茫
server {
    listen       8000;
    ...

    location = /image/ {
        proxy_pass https://example1.com/;
    }
}
Peter_Zhu

If you use openresty, you can take a look at this /a/1190000004680996

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!