「Xserver VPSでDebianサーバ構築/Webサーバ設定」の版間の差分

提供: Medeshima wiki
ナビゲーションに移動 検索に移動
33行目: 33行目:
$ sudo certbot --apache
$ sudo certbot --apache
</nowiki>
</nowiki>

== favicon.ico ==

<nowiki>
/var/www/html/favicon.ico
</nowiki>

=== analog ===

* /etc/analog.cfg

<nowiki>
OUTFILE Report.html
</nowiki>

<nowiki>
$ analog /var/log/apache2/access.log*
$ nkf --url-input Report.html > Report._dec.html
</nowiki>

= その他 =

2023年4月21日 (金) 03:23時点における版

概要

次の表のとおりである。

Webサーバ Apache
証明書 Let's Encrypt

設定

以下の順に行う。

Apache設定

次のコマンドは、次項のcertbotコマンドにより有効化されるので、実行は不要である。

$ sudo a2enmod ssl
$ sudo a2enmod rewrite
$ sudo systemctl restart apache2

Let's Encrypt設定

次のコマンドを実行する。

$ sudo apt install python3-certbot-apache
$ sudo certbot --apache

favicon.ico

/var/www/html/favicon.ico

analog

  • /etc/analog.cfg
OUTFILE Report.html

$ analog /var/log/apache2/access.log*
$ nkf --url-input Report.html > Report._dec.html

その他