LoginSignup
0
0

More than 3 years have passed since last update.

ConoHa + nginx+ Let's Encrypt でサブドメインを追加する

Last updated at Posted at 2021-03-10

完全に自分用メモ。

1. まずはConoHa側でサブドメインの受付設定を追加

image.png

2. サーバー側でnginxを止める

動いていると証明書の発行が成功しない

3. サーバー側で証明書を発行

letsencrypt を実行できるようにしてある前提。実行できるまでの手順はいろいろなページで紹介してある

(sudo) letsencrypt certonly --standalone -d (サブドメイン).(ドメイン)

4. nginxの設定ファイルを編集する

好きなように編集しましょう。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0