2020-07-30 Nginx Nginxインストール、設定 環境:RHEL7.6 インストール、設定 #yum install nginx # systemctl enable nginx firewall設定 80番ポートを開ける必要がある。 # firewall-cmd --add-service=http --zone=public --permanent # firewall-cmd --reload 各種設定ファイル /etc/nginx/ Nginx の設定ファイルが保存されているディレクトリ /etc/nginx/nginx.conf メインとなる設定ファイル /var/log/nignx/ Nginx のログが保存されるディレクトリ /usr/share/nginx/html/ WEBサイトの公開ディレクトリ