Thanks to visit codestin.com
Credit goes to github.com

Skip to content

karak/httpd-conf-testbed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Apache の設定のテスト用の Docker 環境

事前準備

docker-compose を使えるようにする。

Mac であれば Docker for Mac など。

実行

"docker-compose.yml" のあるディレクトリに移動し、 つぎのコマンドでコンテナとサーバーを起動する。

docker-compose up --build

ブラウザから Web サーバーにアクセスする。

初期の構成では以下の結果になる。

http://localhost:8000/index.html --> 200

http://localhost:8000/.hidden/index.html -->404

About

Testbed to configure apache with Docker

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published