Skip to content

Instantly share code, notes, and snippets.

@relax-more
Created May 31, 2013 08:50
Show Gist options
  • Save relax-more/5683693 to your computer and use it in GitHub Desktop.
Save relax-more/5683693 to your computer and use it in GitHub Desktop.
[nginx] ファイルとurl を紐つける -> 設定のテスト-> 再起動
# test of configuration
nginx -t
# reload config file
nginx -s reload
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