Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I've been finding a way to do this, that will allow me to have a physical instance of say wordpress, so that I only need to update it once, and will reflect on all other servers. Any insights would be greatly appreciated.

I have wordpress located at:


I've got a wordpress.conf file:

location / {
    alias /usr/share/webapps/wordpress/;
    try_files $uri $uri/ /index.php;

location ~ (.+\.php)$ {
    alias /usr/share/webapps/wordpress$1;
    fastcgi_pass   php;
    fastcgi_index  index.php;
    fastcgi_param  SCRIPT_FILENAME /usr/share/webapps/wordpress$1;
    include        fastcgi_params;

And I got different servers setup:


server {
    server_name website1.com;
    root /srv/http/website1;

    include     default.conf;
    include     wordpress.conf;


server {
    server_name website2.com;
    root /srv/http/website2;

    include     default.conf;
    include     wordpress.conf;

Each of these servers will have it's own wp-config.php, wp-admin, wp-includes and wp-content. The question is, how would I go about configuring for that? Thanks!

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.