Nginx Rewrite rules written

  
                  

Yesterday, a Rewrite rule was configured for the unit's Ngnix server to prevent images from being stolen by certain rules. At the same time, there is a requirement that requests from our management site should have access to these images. Checked some information, and finally summarized as follows:

location ~ .*\\.(gif

Copyright © Windows knowledge All Rights Reserved