Skip to content

Instantly share code, notes, and snippets.

@ryuchan00
Created July 19, 2017 12:50
Show Gist options
  • Save ryuchan00/fa401dccb84087466116e0ecc4d74b60 to your computer and use it in GitHub Desktop.
Save ryuchan00/fa401dccb84087466116e0ecc4d74b60 to your computer and use it in GitHub Desktop.
【超初心者向け】AWSでたてたnginxサーバーにドメインを設定する ref: http://qiita.com/yamakawa00/items/3e172fbfd1044e093c52
[user|~]$ cd /etc/nginx/conf.d/
[user|conf.d]$ sudo vi xxx.conf #xxxは自分のアプリケーション名でファイル名変更
[user|~]$ sudo service nginx restart
server_name www.hello-ruby.net;(#アプリの固定ドメインに変更してください)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment