Changes between Version 8 and Version 9 of Crin4


Ignore:
Timestamp:
Jul 20, 2015, 11:14:43 AM (3 years ago)
Author:
chris
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Crin4

    v8 v9  
    1212* https://stage.crin.org/
    1313
     14=== HTTPS Certificates ===
     15
    1416These sites use a [[CAcert]] certificate.
     17
     18=== MySQL ===
    1519
    1620MySQL is running on [[Crin1]] and that server also has [[phpMyAdmin]] available, users need a `~/.my.cnf` file as follows for `drush`:
     
    2731If databases need to be copied best do this on [[Crin1]] as the root user has root access to MySQL, there isn't (intentionally) root MySQL access to [[Crin1]] the live MySQL server from [[Crin4]], the dev server.
    2832
    29 The key Nginx config differences from the live site are these env vars:
     33=== Nginx ===
     34
     35The key Nginx config differences from the live site follow.
     36
     37==== Env vars ====
     38
     39These env vars are set:
    3040
    3141{{{
     
    3444fastcgi_param SITE_ENV crin_stage;
    3545}}}
     46
     47==== robots.txt ====
    3648
    3749That a different `robots.txt` file is served to prevent the sites form being indexed:
     
    4254        }
    4355}}}
     56
     57==== /sites/default/files ====
    4458
    4559And if files are not found locally in `/sites/default/files` then they are reverse proxied off the live server as there isn't room for a full copy of these files:
     
    5670        }
    5771}}}
     72
     73==== Access from live servers ====
    5874
    5975The live servers, [[Crin2]] which runs nginx and php5-fpm and [[Crin1]] which runs MySQL are both set up with root access to [[Crin4]] so you can simply copy files between the servers, for example: