dokuwiki在nginx的配置

最近裝了dokuwiki,須要在nginx上作權限限制。html apache有現成的,nginx須要在conf文件裏屏蔽4個目錄的訪問權限。以下:nginx location ~ /(data|conf|bin|inc)/ { deny all; }nginx官網:https://www.nginx.com/resources/wiki/start/topics/recipes/doku
相關文章
相關標籤/搜索