Nginx – phpMyAdmin configuration as location next to a website

MacBook Pro affichant un éditeur de code

To start, install phpmyadmin at the desired location. compose create-project phpmyadmin/phpmyadmin I prefer to use composer, but there are other possibilities Once this is done, go in the folder /etc/nginx. To keep the configuration independent, it is possible to create a snippet. sudo nano snippets/phpmyadmin.conf Then the following configuration must be created. In this example … Read more

Nginx – Configuration Error – Connection Refused

MacBook Pro affichant un éditeur de code

When setting up nginx it can happen that afterwards it is not possible to connect to the server and that you receive a “hostname not found” error In the terminal, we start by using curl -v domain.dev The error appears Rebuilt URL to: domain.dev/ Hostname was NOT found in DNS cache Trying 127.0.0.1… connect to … Read more