Last active
August 13, 2020 09:41
-
-
Save einnar82/e4497795bb3652d1a04a3fe2a88ae806 to your computer and use it in GitHub Desktop.
Directory alias nginx
This file contains hidden or 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
location /some-url/ { | |
alias /path/to/some/directory; | |
autoindex on; | |
autoindex_exact_size off; | |
autoindex_format html; | |
autoindex_localtime on; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment