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;
}







2















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?










share|improve this question





























    2















    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?










    share|improve this question

























      2












      2








      2








      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?










      share|improve this question














      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






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Aug 18 '12 at 10:42









      pooliepoolie

      7,32823158




      7,32823158






















          3 Answers
          3






          active

          oldest

          votes


















          3














          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.







          share|improve this answer

































            2














            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?






            share|improve this answer































              0














              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.






              share|improve this answer








              New contributor




              FixFaier is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
              Check out our Code of Conduct.





















                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
                });


                }
                });














                draft saved

                draft discarded


















                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









                3














                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.







                share|improve this answer






























                  3














                  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.







                  share|improve this answer




























                    3












                    3








                    3







                    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.







                    share|improve this answer















                    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.








                    share|improve this answer














                    share|improve this answer



                    share|improve this answer








                    edited Aug 18 '12 at 10:57

























                    answered Aug 18 '12 at 10:51









                    Philipp WendlerPhilipp Wendler

                    961629




                    961629

























                        2














                        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?






                        share|improve this answer




























                          2














                          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?






                          share|improve this answer


























                            2












                            2








                            2







                            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?






                            share|improve this answer













                            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?







                            share|improve this answer












                            share|improve this answer



                            share|improve this answer










                            answered Aug 18 '12 at 11:03









                            SergeySergey

                            36.7k98799




                            36.7k98799























                                0














                                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.






                                share|improve this answer








                                New contributor




                                FixFaier is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                Check out our Code of Conduct.

























                                  0














                                  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.






                                  share|improve this answer








                                  New contributor




                                  FixFaier is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                  Check out our Code of Conduct.























                                    0












                                    0








                                    0







                                    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.






                                    share|improve this answer








                                    New contributor




                                    FixFaier is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                    Check out our Code of Conduct.










                                    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.







                                    share|improve this answer








                                    New contributor




                                    FixFaier is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                    Check out our Code of Conduct.









                                    share|improve this answer



                                    share|improve this answer






                                    New contributor




                                    FixFaier is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                    Check out our Code of Conduct.









                                    answered 11 mins ago









                                    FixFaierFixFaier

                                    1




                                    1




                                    New contributor




                                    FixFaier is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                    Check out our Code of Conduct.





                                    New contributor





                                    FixFaier is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                    Check out our Code of Conduct.






                                    FixFaier is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                    Check out our Code of Conduct.






























                                        draft saved

                                        draft discarded




















































                                        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.




                                        draft saved


                                        draft discarded














                                        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





















































                                        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







                                        Popular posts from this blog

                                        Why do type traits not work with types in namespace scope?What are POD types in C++?Why can templates only be...

                                        Will tsunami waves travel forever if there was no land?Why do tsunami waves begin with the water flowing away...

                                        Should I use Docker or LXD?How to cache (more) data on SSD/RAM to avoid spin up?Unable to get Windows File...