• Aux@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    1
    ·
    9 months ago

    NGINX is rarely used as a web server, it’s usually used as a reverse proxy, cache and SSL terminator. Just like HAProxy, Varnish, etc.

    • Semi-Hemi-Demigod@kbin.social
      link
      fedilink
      arrow-up
      6
      ·
      edit-2
      9 months ago

      How are we defining a web server? Because to me it’s “the thing listening on Port 80 or 443 that responds to HTTP requests.”

      And, yes, I know they do more than that, but they also do those things quite a bit.

      • Aux@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        arrow-down
        5
        ·
        9 months ago

        There’s a pretty clear distinction between a web server and a reverse proxy if you work in the field.

        • Semi-Hemi-Demigod@kbin.social
          link
          fedilink
          arrow-up
          5
          ·
          9 months ago

          I’ve got over 20 years of experience in the field. I’ve configured both of them as reverse proxies and web servers.

          If Nginx is accepting connections on ports 80 and 443, terminating SSL, and responding to HTTP requests, that makes it a web server. Especially if it’s responding with static content.