What is the best minimal http server?How to connect to homepage after creating it with a python webframework...
Anagram holiday
What is going on with Captain Marvel's blood colour?
What's the difference between 'rename' and 'mv'?
How to take photos in burst mode, without vibration?
I'm flying to France today and my passport expires in less than 2 months
Forgetting the musical notes while performing in concert
Why does Kotter return in Welcome Back Kotter?
Blender 2.8 I can't see vertices, edges or faces in edit mode
What exploit are these user agents trying to use?
Would Slavery Reparations be considered Bills of Attainder and hence Illegal?
Why are electrically insulating heatsinks so rare? Is it just cost?
Why is Collection not simply treated as Collection<?>
How can saying a song's name be a copyright violation?
Why do bosons tend to occupy the same state?
Why is the 'in' operator throwing an error with a string literal instead of logging false?
A reference to a well-known characterization of scattered compact spaces
Why is it a bad idea to hire a hitman to eliminate most corrupt politicians?
Watching something be written to a file live with tail
What does it mean to describe someone as a butt steak?
Why does Arabsat 6A need a Falcon Heavy to launch
What do you call someone who asks many questions?
How do conventional missiles fly?
How can I fix/modify my tub/shower combo so the water comes out of the showerhead?
What's the point of deactivating Num Lock on login screens?
What is the best minimal http server?
How to connect to homepage after creating it with a python webframework (hyde) from an other machine in the same network?How can I host my own websiteWhat Updated Web Cache Servers are available (Caching HTTP Proxy)How to make an Ubuntu Server system accessible over the Internet?Best solution for a team home serverWeb server for a static site on Ubuntu Minimal server 14.04. What to choose?How does apache webserver “decide” what content to serve when no virtual hosts are configured?No internet once connected to OpenVPN serverI want to create a server in ubuntu that will run nodejs as the scripting laanguageHow do I set up the simplest HTTP local server?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
If I want to serve some static content over http from Ubuntu, with an emphasis on security and efficiency (at low-moderate load), what's the best choice?
webserver
add a comment |
If I want to serve some static content over http from Ubuntu, with an emphasis on security and efficiency (at low-moderate load), what's the best choice?
webserver
add a comment |
If I want to serve some static content over http from Ubuntu, with an emphasis on security and efficiency (at low-moderate load), what's the best choice?
webserver
If I want to serve some static content over http from Ubuntu, with an emphasis on security and efficiency (at low-moderate load), what's the best choice?
webserver
webserver
asked Aug 18 '12 at 10:42
pooliepoolie
7,32823158
7,32823158
add a comment |
add a comment |
3 Answers
3
active
oldest
votes
We are using micro-httpd
for this purpose.
It is very small and started by inetd
for every single request, so it is only good for low-load environments, but it does what we need it do to. The only configuration options are the directory to be served and the port to listen on. For SSL/HTTPS support, stunnel
would be used (a wrapper between unencrypted and ssl-encrypted connections).
Some more information from the man page:
It implements all the basic
features of an HTTP server, including:
- Security against ".." filename snooping.
- The common MIME types.
- Trailing-slash redirection.
- index.html
- Directory listings.
add a comment |
Apache is very secure and extremely efficient at serving static content, especially at low-to-moderate load. It is also only an apt-get
away, no additional configuration needed.
Is there anything which makes you to look for another web server?
add a comment |
Very common are Lighttpd and Nginx.
They are very alike and bear similar features and both support PHP if needed.
Lighttpd runs as a single process but with a single thread and non-blocking I/O,
where as Nginx works as one master process but delegates its work unto worker processes.
New contributor
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f177371%2fwhat-is-the-best-minimal-http-server%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
We are using micro-httpd
for this purpose.
It is very small and started by inetd
for every single request, so it is only good for low-load environments, but it does what we need it do to. The only configuration options are the directory to be served and the port to listen on. For SSL/HTTPS support, stunnel
would be used (a wrapper between unencrypted and ssl-encrypted connections).
Some more information from the man page:
It implements all the basic
features of an HTTP server, including:
- Security against ".." filename snooping.
- The common MIME types.
- Trailing-slash redirection.
- index.html
- Directory listings.
add a comment |
We are using micro-httpd
for this purpose.
It is very small and started by inetd
for every single request, so it is only good for low-load environments, but it does what we need it do to. The only configuration options are the directory to be served and the port to listen on. For SSL/HTTPS support, stunnel
would be used (a wrapper between unencrypted and ssl-encrypted connections).
Some more information from the man page:
It implements all the basic
features of an HTTP server, including:
- Security against ".." filename snooping.
- The common MIME types.
- Trailing-slash redirection.
- index.html
- Directory listings.
add a comment |
We are using micro-httpd
for this purpose.
It is very small and started by inetd
for every single request, so it is only good for low-load environments, but it does what we need it do to. The only configuration options are the directory to be served and the port to listen on. For SSL/HTTPS support, stunnel
would be used (a wrapper between unencrypted and ssl-encrypted connections).
Some more information from the man page:
It implements all the basic
features of an HTTP server, including:
- Security against ".." filename snooping.
- The common MIME types.
- Trailing-slash redirection.
- index.html
- Directory listings.
We are using micro-httpd
for this purpose.
It is very small and started by inetd
for every single request, so it is only good for low-load environments, but it does what we need it do to. The only configuration options are the directory to be served and the port to listen on. For SSL/HTTPS support, stunnel
would be used (a wrapper between unencrypted and ssl-encrypted connections).
Some more information from the man page:
It implements all the basic
features of an HTTP server, including:
- Security against ".." filename snooping.
- The common MIME types.
- Trailing-slash redirection.
- index.html
- Directory listings.
edited Aug 18 '12 at 10:57
answered Aug 18 '12 at 10:51
Philipp WendlerPhilipp Wendler
961629
961629
add a comment |
add a comment |
Apache is very secure and extremely efficient at serving static content, especially at low-to-moderate load. It is also only an apt-get
away, no additional configuration needed.
Is there anything which makes you to look for another web server?
add a comment |
Apache is very secure and extremely efficient at serving static content, especially at low-to-moderate load. It is also only an apt-get
away, no additional configuration needed.
Is there anything which makes you to look for another web server?
add a comment |
Apache is very secure and extremely efficient at serving static content, especially at low-to-moderate load. It is also only an apt-get
away, no additional configuration needed.
Is there anything which makes you to look for another web server?
Apache is very secure and extremely efficient at serving static content, especially at low-to-moderate load. It is also only an apt-get
away, no additional configuration needed.
Is there anything which makes you to look for another web server?
answered Aug 18 '12 at 11:03
SergeySergey
36.7k98799
36.7k98799
add a comment |
add a comment |
Very common are Lighttpd and Nginx.
They are very alike and bear similar features and both support PHP if needed.
Lighttpd runs as a single process but with a single thread and non-blocking I/O,
where as Nginx works as one master process but delegates its work unto worker processes.
New contributor
add a comment |
Very common are Lighttpd and Nginx.
They are very alike and bear similar features and both support PHP if needed.
Lighttpd runs as a single process but with a single thread and non-blocking I/O,
where as Nginx works as one master process but delegates its work unto worker processes.
New contributor
add a comment |
Very common are Lighttpd and Nginx.
They are very alike and bear similar features and both support PHP if needed.
Lighttpd runs as a single process but with a single thread and non-blocking I/O,
where as Nginx works as one master process but delegates its work unto worker processes.
New contributor
Very common are Lighttpd and Nginx.
They are very alike and bear similar features and both support PHP if needed.
Lighttpd runs as a single process but with a single thread and non-blocking I/O,
where as Nginx works as one master process but delegates its work unto worker processes.
New contributor
New contributor
answered 11 mins ago
FixFaierFixFaier
1
1
New contributor
New contributor
add a comment |
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f177371%2fwhat-is-the-best-minimal-http-server%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown