0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

webサーバーって何

Last updated at Posted at 2025-05-04

簡単に言うと 運送屋

バックエンド(APIサーバーとか)とフロントエンド(Webブラウザで動作するアプリケーション)の間に入って、橋渡しのような役割を担う

webサーバは

  1. フロントエンドからPOST/GETなどのHTTPリクエストを受け取る
  2. そのリクエストの宛先を確認して、どこに届けるべきかを確認する
  3. その宛先(適切なバックエンドのAPIサーバなど)に届ける
  4. バックエンドでの処理が終わったら、処理したもの(レスポンス)を受け取る
  5. 最初にリクエストを送ったフロントエンドにレスポンスを届ける

Nginxとかは超優秀な運送屋みたいな感じ

Webサーバ(ウェブサーバ / HTTPサーバ)とは?

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?