Nginx prohibits directory running php

  
                  

The method of prohibiting directory execution of php under nginx is much simpler, allowing multiple directories to be set. I don't know if I don't know about apache. If there is a better way, I hope everyone will point out shared learning. Thx

location ~* ^/(attachments

Copyright © Windows knowledge All Rights Reserved