This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| How to add auto-index to any directory for site hosted on Octopus instance? | |
| Use (and clone if needed) this snippet in your /data/disk/USER/config/server_master/nginx/post.d/nginx_vhost_include.conf file: | |
| #---# | |
| location ~* /uri/of/auto/indexed/dir { | |
| autoindex on; | |
| } | |
| #---# | |
| See also: http://drupalcode.org/project/octopus.git/blob/HEAD:/docs/HINTS.txt#l16 | |
| You can use the same snippet in your custom vhost for any non-drupal site. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment