アクセス
- ブラウザを開く:
http://<SERVER_IP>/ - Webルート(
index.html)が表示されるはずです。
バージョン確認
ferron --version
重要なファイルとディレクトリ
- 設定ファイル:
/etc/ferron.kdl - Webルート
/var/www/ferron - バイナリ:
/usr/sbin/ferron - パスワード生成ツール:
/usr/sbin/ferron-passwd - 事前圧縮ツール:
/usr/sbin/ferron-precompress - 設定変換ツール:
/usr/sbin/ferron-yaml2kdl - アクセスログ:
/var/log/ferron/access.log - エラーログ:
/var/log/ferron/error.log
構成
プライマリ設定ファイル:
/etc/ferron.kdl
FerronはKDLベースの設定フォーマットを使用します。ダウンタイムなしで変更を適用できます:
systemctl reload ferron
サービス管理
systemdを使用してFerronサービスを制御します:
# Stop the Ferron service
systemctl stop ferron
# Restart the service
systemctl restart ferron
# Reload the configuration without restarting the service
systemctl reload ferron
# Check service status
systemctl status ferron
# View logs
journalctl -u ferron -f