HWZ Forums

Login Register FAQ Mark Forums Read

Nginx vs Lighttpd for serving static web pages

Reply
 
LinkBack Thread Tools
Old 13-08-2017, 06:31 PM   #1
Senior Member
 
Join Date: Jul 2009
Posts: 652
Nginx vs Lighttpd for serving static web pages

Which one is easier to install, setup and is more secure by default?

I just want to dump my web pages in their wwwroot or htdocs directory with the least configuration.

No need PHP or CGI.
u0206397 is offline   Reply With Quote
Old 13-08-2017, 10:49 PM   #2
Supremacy Member
 
davidktw's Avatar
 
Join Date: Apr 2010
Posts: 8,773
Which one is easier to install, setup and is more secure by default?

I just want to dump my web pages in their wwwroot or htdocs directory with the least configuration.

No need PHP or CGI.
I would say, all most web servers I come across in Linux. What you asked for is the basic functionality of them all.

Just install from your package manager, and dump them into /var/www/html/

There is likely nothing you will need to configure to achieve that alone.
davidktw is offline   Reply With Quote
Old 13-08-2017, 10:57 PM   #3
Senior Member
 
Join Date: Jul 2009
Posts: 652
Thank you. I thought I need to create the configuration file, configure virtual hosts and URL rewriting etc. even when I don't use them.
u0206397 is offline   Reply With Quote
Old 13-08-2017, 11:12 PM   #4
Supremacy Member
 
davidktw's Avatar
 
Join Date: Apr 2010
Posts: 8,773
Thank you. I thought I need to create the configuration file, configure virtual hosts and URL rewriting etc. even when I don't use them.
If you are installing from the package managers, the packages that are meant for the distro, would have a default configuration setup just to at least serve static pages, and probably minimally CGI.

Even if you will to compile from the sources, the configurator to produce the makefile should give a working default system most of the time.

The basics of a web server do not need to involve virtual hosting, any URL rewriting or more to serve static files.

Last edited by davidktw; 18-08-2017 at 05:14 AM..
davidktw is offline   Reply With Quote
Reply
Important Forum Advisory Note
This forum is moderated by volunteer moderators who will react only to members' feedback on posts. Moderators are not employees or representatives of HWZ. Forum members and moderators are responsible for their own posts.

Please refer to our Terms of Service for more information.


Thread Tools

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On