#author("2020-10-11T10:55:11+09:00","default:egashira","egashira")
[[CentOS7]]

*動画視聴認証設定 [#icf5981c]
**nginx暗号化通信有効化 [#me4426ea]
|BGCOLOR(black):COLOR(white):|c
|[root@centos ~]# systemctl stop nginx &color(lime){← nginx停止};|
|[root@centos ~]# wget https://nginx.org/download/nginx-1.17.3.tar.gz &color(lime){← nginxダウンロード};|
|※最新版の[[ダウンロードページ>https://nginx.org/en/download.html]]URL|
|[root@centos ~]# tar zxf nginx-*.tar.gz &color(lime){← nginx展開};|
|[root@centos ~]# cd nginx-* &color(lime){← nginx展開先ディレクトリへ移動};|
|[root@centos nginx-1.17.3]# git clone https://github.com/arut/nginx-rtmp-module.git &color(lime){← nginx-rtmp-moduleダウンロード};|
|[root@centos nginx-1.17.3]# ./configure --add-module=nginx-rtmp-module/ --with-http_ssl_module --with-debug && make && make install &color(lime){← nginx+nginx-rtmp-moduleインストール};|
|[root@centos nginx-1.17.3]# cd &color(lime){← nginx展開先ディレクトリを抜ける};|
|[root@centos ~]# rm -rf nginx-* &color(lime){← nginx展開先ディレクトリとダウンロードしたファイルを削除};|
|[root@centos ~]# systemctl start nginx &color(lime){← nginx起動};|


**nginx設定 [#b29979fc]
+サーバー証明書取得&br;暗号化通信するためサーバー証明書を取得する。&br;&br;Webサーバー間通信内容暗号化(Apache+mod_SSL+Certbot)を実施
--Certbotクライアントインストール
--■サーバー証明書取得
--■サーバー証明書自動更新設定
+nginx設定



トップ   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS