24 Apache
This chapter describes how you can set up your own web server. The chapter focuses on the Apache program and its basic configuration, including the use of free HTTPS keys from Let's Encrypt. I also cover some popular extensions, including the PHP programming language and the GoAccess program for creating access statistics. The chapter ends with a short presentation of the Apache alternative, NGINX.
24.1 Apache
In the open-source world, two web servers are currently in a neck-and-neck race: Apache and NGINX. I focus in this chapter on the Apache program, which is easier to configure and remains the first choice, especially for beginners. In contrast, NGINX (see Section 24.8) is characterized by leaner code and stronger performance ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access