Nginx configuration error

  

Several commands to see for yourself, comments that do not understand


error_page 404 = @homepage;

location @homepage { rewrite .* /Permanent; }


1. Test the correctness of nginx.conf: /usr/local/nginx/sbin/nginx -t

2. Reload nginx to take effect: /Usr/local/nginx/sbin/nginx -s reload

Copyright © Windows knowledge All Rights Reserved