Help us understand the problem. What is going on with this article?

nginxでSSL - 256 INTERNS プラクティス

More than 5 years have passed since last update.

nginxでSSL接続の設定をして行きたいと思います。

こちらの手順をまるっとやってしまいます。
何をやってるかは前回書いたので興味があれば是非に。

nginx.confを編集したらnginxを再起動します、、、

$ sudo /usr/local/nginx/sbin/nginx -s reload
nginx: [emerg] the "ssl" parameter requires ngx_http_ssl_module in /usr/local/nginx/conf/nginx.conf:38

アウチ!ngx_http_ssl_moduleが必要だそうですが、あとから追加できるんでしょうか。
えいっと。

$ ./configure --with-http_ssl_module
error: SSL modules require the OpenSSL library.
$ sudo apt-get install libssl-dev
$ ./configure --with-http_ssl_module
$ make
$ sudo make install
$ sudo /usr/local/nginx/sbin/nginx -s reload

どうやら無事モジュールを入れることが出来ました。
https://でも接続も出来ました!

Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
No comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
ユーザーは見つかりませんでした