Home
Packages
Forums
Wiki
GitLab
Security
AUR
Download
コンテンツにスキップ
メインメニュー
メインメニュー
サイドバーに移動
非表示
案内
メインページ
目次
コミュニティに貢献
最近の出来事
おまかせ表示
特別ページ
交流
ヘルプ
貢献
最近の更新
最近の議論
新しいページ
統計
リクエスト
ArchWiki
検索
検索
表示
アカウント作成
ログイン
個人用ツール
アカウント作成
ログイン
Caddyのソースを表示
ページ
議論
日本語
閲覧
ソースを閲覧
履歴を表示
ツール
ツール
サイドバーに移動
非表示
操作
閲覧
ソースを閲覧
履歴を表示
全般
リンク元
関連ページの更新状況
ページ情報
表示
サイドバーに移動
非表示
←
Caddy
あなたには「このページの編集」を行う権限がありません。理由は以下の通りです:
この操作は、次のグループに属する利用者のみが実行できます:
登録利用者
。
このページのソースの閲覧やコピーができます。
[[Category:ウェブサーバー]] [[en:Caddy]] [[zh-hans:Caddy]] [https://caddyserver.com/ Caddy] は自動的に HTTPS を使用する HTTP/2 対応のウェブサーバーです。 == インストール == {{Pkg|caddy}} パッケージを[[インストール]]してください。 == Plugins == If you need more than the base version of caddy, you can use {{AUR|xcaddy-bin}} to customize your caddy server build. This is useful if you need the additional plugins for DNS challenge etc. Alternatively, if a pre-built package, with the plugins you require, is already available you may choose to install those from [https://aur.archlinux.org/packages/?O=0&K=caddy AUR], for eg. {{AUR|caddy-cloudflare}} For a custom caddy server build you can use xcaddy to build caddy with the necessary plugin modules: $ xcaddy build [<caddy_version>] [--output <file>] [--with <module[@version][=replacement]>...] For more information, see the [https://github.com/caddyserver/xcaddy xcaddy repository]. == 設定 == Caddy は {{ic|Caddyfile}} という名前のプレーンテキストファイルを使って設定します。{{ic|Caddyfile}} にはまずサイトのアドレスを記述して、それからディレクティブをいくつか書きます。 gzip 圧縮を使用し {{ic|../access.log}} にログを出力して {{ic|localhost:2020}} からアクセスできるサイトを記述した {{ic|Caddyfile}} の例: localhost:2020 gzip log ../access.log == 使用方法 == Caddy はページがあるディレクトリから通常ユーザーで実行できます。同一ディレクトリに {{ic|Caddyfile}} が存在する必要があります: $ caddy もしくは {{ic|Caddyfile}} を指定して実行することもできます: $ caddy -conf="../path/to/Caddyfile" == Troubleshooting == === Certificate error === If you are facing any issues related to SSL certificates (especially on non-public domains), it is probably because the running caddy instance does not have permission to add the certificate to the system's trust store. This seems to be the case when the systemd unit (caddy.service) is used to autostart caddy. To fix this, run the following as root. You only have to run this once in a very long time (lifetime of the root certificate). # XDG_DATA_HOME=/var/lib caddy trust == 参照 == * [https://caddyserver.com/ Caddy 公式ウェブサイト] * [https://caddyserver.com/docs Caddy ユーザーガイド] * [https://caddyserver.com/docs/caddyfile Caddyfile ドキュメント]
このページで使用されているテンプレート:
テンプレート:AUR
(
ソースを閲覧
)
テンプレート:Ic
(
ソースを閲覧
)
テンプレート:Pkg
(
ソースを閲覧
)
Caddy
に戻る。
検索
検索
Caddyのソースを表示
話題を追加