Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Raspberry Pi Server Essentials

You're reading from   Raspberry Pi Server Essentials If you want to use Raspberry Pi as a server, this is the book that makes it all possible. Covering a wide range of projects – from network storage to a game server – you'll learn in easy, engaging steps.

Arrow left icon
Product type Paperback
Published in Feb 2014
Publisher
ISBN-13 9781783284696
Length 116 pages
Edition Edition
Tools
Arrow right icon
Author (1):
Arrow left icon
Piotr J Kula Piotr J Kula
Author Profile Icon Piotr J Kula
Piotr J Kula
Arrow right icon
View More author details
Toc

Nginx with custom modules


To configure custom modules, recompile nginx with specific flags or copy new files into specific locations. You can run multiple instances of nginx side by side, as long as the virtual hosts do not overlap.

Running two or more nginx side by side can be beneficial as it reduces overhead and has a high level of isolation. The standard nginx can serve up your PHP application, while another version of nginx will be streaming a live video and a third could be handing Node.JS. You could run them all in one instance of nginx. But if you need to monitor performance, then separating them like this gives you greater control while still being more efficient and faster than Apache.

The drawback is that you have configuration files for each instance of nginx, but that seems like a small price to pay for such flexibility.

You can find a list of common modules at http://wiki.nginx.org/Modules.

lock icon The rest of the chapter is locked
Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Raspberry Pi Server Essentials
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at ₹800/month. Cancel anytime
Modal Close icon
Modal Close icon