nginx unknown directive “return”

后端 未结 0 1044
情深已故
情深已故 2020-12-12 14:57

I am trying to redirect in nginx with the stock code:

    server {
       listen 80;
       server_name www.example.com;
       return 301 $scheme://example.c         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题