Last active
August 29, 2015 14:16
-
-
Save madmis/febb842bdc336943f0d3 to your computer and use it in GitHub Desktop.
nginx location alias
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
location ~ ^/api/(?<module>.+)/doc/ { | |
autoindex on; | |
index index.html; | |
alias "/home/dmac/www/hub/hub/modules/RestApi/Resources/Doc/$1"; | |
error_log /var/log/nginx/hub-test-error.log debug; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment