PHP activation for nginx

We will see how to let nginx execute PHP scripts and display their results instead of their content.

Configuration of PHP-FPM

Several possibility are available to execute PHP scripts Apache module, CGI, FastCGI and FPM. The later is an adaptation of the FastCGI version for heavy-loaded sites. It is the ...

more ...


Nginx as a proxy

We will see how to setup Nginx as a proxy to other web server. I used this configuration while transiting from lighttpd to Nginx. After installing Nginx I setup it to redirect all the web traffic to the lighttpd serrver. The aimed is to switch gradually from Nginx to lighttpd ...

more ...


Gitlab-runner installation

Install gitlab-ci-multi-runner

https://gitlab.com/gitlab-org/gitlab-ci-multi-runner/blob/master/docs/install/linux-repository.md

Add gitlab-runner user to docker group:

# gpasswd -a gitlab-runner docker

Restart Docker service:

# service docker restart

Create a runner

Register a runner

# gitlab-runner register

Put the ...

more ...

LDAP authentication for lighttpd

Like a lot of web server, lighttpd can directly protect the access at certain pages or full folders by a password. This password protection is independent of web application that is protected like this. It's append before any access to the web pages and therefore of the application. The ...

more ...

PHP activation for lighttpd

We will see how to let lighttpd execute PHP scripts and display their results instead of their content.

FastCGI configuration of PHP5

To execute PHP scripts, lighttpd can use the standardised interface CGI that is used by web servers. It is an interface that allow easily the exchange between a ...

more ...

Syncthing on server

Syncthing is peer to peer synchronisation software than run on a lot of platform. To be able to synchronise two devices they need to be both up at the same time. At the moment Syncthing is aimed to be run as a single user. Therefore if we want that several ...

more ...

Offline and caching of LDAP authentication

Centralised authentication through LDAP is very useful. No matter the number of machine that used it, the user have the same login and groups. When the user change his password on one of the machine, the password is updated everywhere. However in case of lack of connection with the LDAP ...

more ...