Changes between Version 8 and Version 9 of Crin4
- Timestamp:
- Jul 20, 2015, 11:14:43 AM (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Crin4
v8 v9 12 12 * https://stage.crin.org/ 13 13 14 === HTTPS Certificates === 15 14 16 These sites use a [[CAcert]] certificate. 17 18 === MySQL === 15 19 16 20 MySQL is running on [[Crin1]] and that server also has [[phpMyAdmin]] available, users need a `~/.my.cnf` file as follows for `drush`: … … 27 31 If 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. 28 32 29 The key Nginx config differences from the live site are these env vars: 33 === Nginx === 34 35 The key Nginx config differences from the live site follow. 36 37 ==== Env vars ==== 38 39 These env vars are set: 30 40 31 41 {{{ … … 34 44 fastcgi_param SITE_ENV crin_stage; 35 45 }}} 46 47 ==== robots.txt ==== 36 48 37 49 That a different `robots.txt` file is served to prevent the sites form being indexed: … … 42 54 } 43 55 }}} 56 57 ==== /sites/default/files ==== 44 58 45 59 And 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: … … 56 70 } 57 71 }}} 72 73 ==== Access from live servers ==== 58 74 59 75 The 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: