【使用したHTML】
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>ラズパイWebサーバー</title>
<style>
body {
font-family: sans-serif;
text-align: center;
background-color: #f0f4f8;
padding: 50px 15px;
}
h1 {
color: #247a43;
}
p {
font-size: 20px;
}
</style>
</head>
<body>
<h1>ラズパイWebサーバーへようこそ!</h1>
<p>Raspberry Piでホームページを作りました!</p>
<p>小さなコンピューターでもWebサーバーが作れます。</p>
</body>
</html>
【ラズベリーパイ】nginxで小型Webサーバーを作る方法|HTMLページを公開
未分類
コメント