background preloader

Nginx

Facebook Twitter

Installer Nginx et PHP5 sous Debian | FreeFoxTV. Nginx, serveur WEB - Diablotins.org. Nginx est organisé en modules; chacun apportant une fonctionnalité. Installez le port www/nginx. Le Makefile proposant plusieurs options de construction, nous n'activerons que: HTTP_MODULE "Enable HTTP module" on HTTP_REWRITE_MODULE "Enable http_rewrite module" on HTTP_SSL_MODULE "Enable http_ssl module" on HTTP_STATUS_MODULE "Enable http_stub_status module" on WWW "Enable html sample files" on Le reste étant déasctivé (off). ceci valide les HTTP (essentiels), la réécriture d'URL (ça peut servir), le SSL sur HTTP et les statistiques. Une fois le port installé, vous trouverez les fichiers de configuration dans le catalogue “/usr/local/etc/nginx”.

Éditez “/usr/local/etc/nginx/nginx.conf” pour configurer le serveur; le wiki en fourni quelques exemples ainsi qu'une documentation des directives des modules pour, par exemple, le module “HttpCore”. La syntaxe du fichier de configuration n'est pas vraiment documentée (du moins en anglais) et ce qui suit n'est qu'une déduction. Contexte principal #! Guide to Webserver SSL Certificates @ Calomel.org - Open Source. Home RSS Search July 15, 2013 Welcome. The purpose of this guide is to clearly explain the reasons you may want to use a Secure Socket Layer (SSL) certificate on your webserver. While researching SSL certificates for use on our site we were constantly bombarded by useless marketing nonsense. What we really needed was a single page with clear and concise facts.

Why would one buy a SSL certificate ? The primary reason for using a SSL certificate is to encrypt traffic between your webserver and the client with a "trusted" key verified by an independent third party. If you decide to sign your own ssl certificate and not use an independent Certificate Authority then clients will get an error every time they connect to your site. What you can and can not expect from a https SSL certificate ? A certificate bought from a trusted Certificate Authority simply means a client can verify the certificate's validity through a third party. What type of encryption should be used ? What does SSL encrypt ? Here With Me sur son nouveau serveur ! | Here With Me. Si vous lisez ce message, c’est que vous consultez mon blog depuis le nouveau serveur ! Parlons un peu du nouveau serveur… C’est un dédié OVH dont voici quelques caractéristiques techniques: Intel Core2Duo E6550 64 bits 2 Go DDR2 2x 250 Go SATA2 RAID 0/1 100 Mbps Logiciellement parlant… nous avons fait une configuration exotique: Debian Etch 64 bits MySQL 5 PHP5 via FastCGI Bind 9 Serveur HTTP Nginx Ruby 1.8Mongrel Python 2.4 Postfix Courier (POP, IMAP) Spamassassin Amavis Pure FTPD Voilà pour le gros des logiciels.

Ci-dessous les guides utilisés pour arriver à nos fins: Si vous avez des suggestions ou des questions… ;) Webserver Optimization and Bandwidth Saving Tips @ Calomel.org - Home RSS Search March 03, 2013 Running a webserver can be a rewarding experience and also a trial in patience. You want to serve out all your pages and pictures, but you only have a finite amount of bandwidth to do so. if you overload your connection client visiting your server will think it is slow and unresponsive.

You need to setup your server in the most efficient way possible to get the most visits you can and give your visitors a positive experience. The following are tips on reducing the load on your webserver, speeding up the serving pages and stopping unwanted and abusive traffic. Data Compression Data compression is the process of encoding information using fewer bits (or other information-bearing units) than an un-encoded representation would use through use of specific encoding schemes.

Apache and lighttpd both have the mod_compress module. The web server use mod_compress will only compress a page when it is asked for at least once. Expires headers - Caching Watch the bots. OPTIMISER SON SERVEUR WEB AVEC NGINX. Si vous êtes l’heureux possesseur d’un site hébergé sur un serveur dédié, la popularité est une bonne chose mais peut vite s’accompagner d’autres inconvénients comme la saturation des ressources de votre serveur.

La solution la plus simple est souvent de passer à une offre supérieure (et donc plus chère), mais cela peut être sans fin ou presque, et les migrations ne sont pas forcément une partie de plaisir. Modifier l’architecture est parfois une meilleure solution et permet de mieux profiter de son hébergement actuel sans trop d’efforts et sans surcoût. Si vous travaillez bien, vous pourrez en plus anticiper le passage à une architecture à plusieurs serveurs. Pourquoi mon serveur plante ? Le problème principal affectant les serveurs Web comme Apache est la quantité de RAM disponible sur le système. Un serveur ne devrait jamais saturer sa RAM et utiliser le SWAP, c’est-à-dire la mémoire virtuelle sur le disque dur. Il faut alors bien souvent redémarrer au moins le processus Apache. nginx.