nginx URL rewrite using negative regex?

前端 未结 2 1866
故里飘歌
故里飘歌 2020-12-30 07:54

I\'m trying to redirect requests to https in nginx, unless it is of the form HOST/ANY_STRING_OF_CHARS/END_OF_URI, e.g.:

http://host.org/about # no redirect<

2条回答
提交回复
热议问题