Created
May 31, 2013 08:50
-
-
Save relax-more/5683693 to your computer and use it in GitHub Desktop.
[nginx] ファイルとurl を紐つける -> 設定のテスト-> 再起動
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
# test of configuration | |
nginx -t | |
# reload config file | |
nginx -s reload | |
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 = /internal/auth { | |
default_type "application/json"; | |
alias /home/www/tmp/data/auth.json; | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment