nginx如何实现跳转到指定接口的功能


当前第2页 返回上一页

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

server {

        listen 80;

        server_name yunmasoft.com www.yunmasoft.com;

        if ( $uri ~* "^/user/loginInput$" ) {

                rewrite ^/(.*)$ http://123.57.250.51/$1 redirect;

        }

        location / {

                proxy_pass    http://182.92.97.72:8083;

                # proxy_redirect on ;

 

                index index.php index.html index.htm;

        }

        error_page 500 502 503 504 /50x.html;

 

 

}

3984f63f984b13316705413012c4aba.png

以上就是nginx如何实现跳转到指定接口的功能的详细内容,更多文章请关注木庄网络博客

返回前面的内容

相关阅读 >>

运行和控制nginx――命令行参数和信号

nginx根据ip跳转不同页面

centos下nginx无法访问怎么办

如何查看nginx日志

nginx伪静态规则配置

nginx应用场景有哪些?

你知道nginx怎样查看并发连接数么

重启nginx有哪几种方法

403nginx是什么

nginx如何实现高并发

更多相关阅读请进入《nginx》频道 >>



打赏

取消

感谢您的支持,我会继续努力的!

扫码支持
扫码打赏,您说多少就多少

打开支付宝扫一扫,即可进行扫码打赏哦

分享从这里开始,精彩与您同在

评论

管理员已关闭评论功能...