What's the best practice regarding using Nginx configuration files in sites-available ? * Option 1 * One configuration file for multiple domains: /etc/nginx/sites-available/default server { server_name www.example.com; } server { server_name www.domain.com; } * Option 2 * A separate configuration file for each domain: /etc/nginx/sites-available/example.com server { serverby pe7er - How to...
Hi, I am a Joomla website specialist from The Netherlands and an open source enthusiast. Most of my, and my client's, websites use Apache webserver. A few months ago I was experimenting with my Raspberry Pi mini Linux server. I decided to replace Apache with a light weight alternative: Nginx. And guess what... I really love it! It's fast, easy to configure, Actually, I decided to useby pe7er - New Member Introductions
Nevermind... I discovered that I hadn't installed "php5-cli", and fixed it with: $ sudo apt-get install php5-cliby pe7er - How to...
On my Raspberry Pi with Raspbian OS (Debian optimized for Raspberry Pi) I've installed Nginx + MySQL + PHP. Nginx + PHP (using php5-fpm) seem to work well as I can retrieve HTML / PHP files from my browser. At another machine with Debian & Apache, I can run PHP scripts from the command line using the command: $ php /var/www/myscript.php When I want to add that script to crontabs I have tby pe7er - How to...
![]() |
![]() |
![]() |
![]() |
|