标签: nginx
在我的网站上任何与oauth一起提出的请求如下
www.mywebsite.com/oauth/index.html
需要重定向到
www.mywebsite.com/index.html
需要正则表达式在nginx配置级别中执行相同的操作
同样需要适用于
www.mywebsite.com/oauth/user_profile.html需要重定向到www.mywebsite.com/user_profile.html