Apache[edit]

Build it yourself[edit]

Download[edit]

Compile[edit]

Configuration[edit]

Benchmark[edit]

Distributions[edit]

Rocky Linux[edit]

Install[edit]
dnf -y install httpd
/etc/httpd/conf/httpd.conf[edit]
ServerAdmin
DocumentRoot
<Directory ".....">
Options FollowSymLinks MultiViews
AllowOverride All
SSL[edit]
openssl req -x509 -newkey rsa:2048 -sha256 -days 365 -nodes \
  -keyout /etc/pki/tls/private/jh_test.key \
  -out   /etc/pki/tls/certs/jh_test.crt \
  -subj "/CN=localhost"
DocumentRoot "/var/www/htdocs_ssl"
ServerName polaris.star-dust.jp:443

<Directory "/var/www/htdocs_ssl">
    Options FollowSymLinks MultiViews
    AllowOverride All
    Require all granted
</Directory>
SSLCertificateFile    /etc/pki/tls/certs/jh_test.crt
SSLCertificateKeyFile /etc/pki/tls/private/jh_test.key
firewalld[edit]
firewall-cmd --add-service=http --permanent
firewall-cmd --add-service=https --permanent
firewall-cmd --reload

or

systemctrl stop firewalld
systemctrl enable firewalld
 
 

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