最もSimpleなWebsiteを作る
https://gyazo.com/2d7605e2bf51e0e5a526a4be2ba8028a
ただのwebsiteの場合とても簡単
Serverにとって
inputは「URL」
outputは「~~~~.html」
Serverの処理としては
1.icon requestを受け取る
2.icon request通りのfileをServer内で探し…見つける
3.icon 見つけたFileを responseとしてPC側にお返しする
仕組みはすごい簡単で、右に書いている「URL」をrequestすると…左のファイルがresponseとして帰ってくる
code:dir.yml
.
├── test
│   └── sawachin.html # ←←← http://web.com/test/sawachin.html
├── production
│   ├── mmurata.html # ←←← http://web.com/production/mmurata.html
│   ├── tsawada.html # ←←← http://web.com/production/tsawada.html
│   └── htsurimaki.html # ←←← http://web.com/production/htsurimaki.html
└── it
├── index.html # ←←← http://web.com/it/ = http://web.com/it/index.html
└── test.html # ←←← http://web.com/it/test.html