Hello again,
I thought I would ask for advice before I started on my plans.
I already had my server up and running Ubuntu 10.04 nginx php5-fpm before I come across ISPConfig, I have one active/production site but had nearly a dozen spare domains to play with.
I got ISPC set up just fine and began removing my preconfigured vhosts and associated web accessible folders. Once I had removed them I would readd the sites via ISPC. All has been well so far.
Now my production site is a bit more complicated.
The url is
http://the-sps.org but I've got a domain alais
http://the-sps.net which has several subdomains which serve up various different types of content. I also have a few extra snipets of code which aren't present in the normal ISPC php directives. Also my public accessible folder location is different than the folder location that ISPC uses.
My production site is located in /srv/www/the-sps.org/ whereas ISPC locates them at /var/www/the-sps.org/ is it easy enough to move all the files?
The default ISPC PHP directive is
Code:
location ~ \.php$ {
try_files $uri =404;
include /etc/nginx/fastcgi_params;
fastcgi_pass unix:/var/lib/php5-fpm/web8.sock;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param PATH_INFO $fastcgi_script_name;
fastcgi_intercept_errors on;
}
My PHP directive has the following small but very important difference.
Code:
location ~ \.php$ {
try_files $uri /index.php =404;
fastcgi_pass unix:/tmp/phpfpm.sock;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}
I have read that manually editing the vhosts will result in the edits not sticking, how can I make my edit stick?
Sorry for the wall of text, I'm all ears at this stage as I just want to get this one last move right before I make the jump.
Thanks
Recent comments
1 day 2 hours ago
1 day 9 hours ago
1 day 12 hours ago
1 day 14 hours ago
1 day 23 hours ago
2 days 8 hours ago
2 days 9 hours ago
2 days 12 hours ago
2 days 17 hours ago
2 days 17 hours ago