User Tools

Site Tools


servers:linux:nginx:dokuwiki

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
servers:linux:nginx:dokuwiki [2025/12/20 23:33] Sean Rhoneservers:linux:nginx:dokuwiki [2025/12/20 23:33] (current) – old revision restored (2025/12/20 19:44) Sean Rhone
Line 76: Line 76:
  
 } }
- 
-# End</code> 
- 
-===== Themes Deny ===== 
- 
-  * https://github.com/WordPress/WordPress/tree/master/wp-content/themes 
-  * Deny all except ''twentytwentyfive'' 
-  * 2025/11/21: No ''twentytwentysix'' (2026) yet 
- 
-  sudo -e '/etc/nginx/snippets/blog-themes-deny.conf' 
- 
-<code> 
- location '~' '/wp-content/themes/(twentyeleven|twentyfifteen|twentyfourteen|twentynineteen|twentyseventeen|twentysixteen|twentyten|twentythirteen|twentytwelve|twentytwentyfour|twentytwentyone|twentytwentythree|twentytwentytwo|twentytwenty)/' { 
-  deny 'all'; 
- } 
  
 # End</code> # End</code>
Line 109: Line 94:
  include '/etc/nginx/snippets/wiki.conf';  include '/etc/nginx/snippets/wiki.conf';
  include '/etc/nginx/snippets/headers.conf';  include '/etc/nginx/snippets/headers.conf';
- include '/etc/nginx/snippets/blog-themes-deny.conf' 
  
  client_max_body_size '10M';  client_max_body_size '10M';
/var/www/wiki/data/attic/servers/linux/nginx/dokuwiki.1766291596.txt.gz · Last modified: by Sean Rhone

Except where otherwise noted, content on this wiki is licensed under the following license: CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki