Show all posts by user
Introduce yourselves
Page 1 of 1 Pages: 1
Results 1 - 4 of 4
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 {
server
by
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 use
by
pe7er
-
New Member Introductions
Nevermind...
I discovered that I hadn't installed "php5-cli", and fixed it with:
$ sudo apt-get install php5-cli
by
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 t
by
pe7er
-
How to...