Vincent Faliès - Artisan Codeur

EnvDev 2.0 is available

Development php web project apache nginx envdev
Reading time: 1 minute, 0 seconds

A new version of EnvDev project is now available in 2.0 version.

This version is a complete refactoring of the project to rationnalize the stack and use Alpine version of container to reduce the image size.

Your projects can be with several PHP version from 5.6 to 7.2. A cache stack had been a...

Continue reading...

HTTPS redirection

web system nginx ssl apache
Reading time: 1 minute, 0 seconds

Several methods exist to redirect traffic from HTTP to HTTPS automaticaly.

Apache

From virtual host

The definition fo the redirection is simple, we must specify that all connection on standard port must be rewrite to HTTPS protocol.


   ...
   ServerName subdomain.domain.tl...

Continue reading...

GZip compression with Nginx

system nginx gzip compression
Reading time: 1 minute, 0 seconds

When you reviewing your website with Google Pagespeed Insights, you could have the following error :

To fix this problem, a little modification of Nginx configuration is necessary :

In /etc/nginx/nginx.conf file or in new file /etc/nginx/conf.d/gzip.conf, add the following code :

gzip...

Continue reading...