| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| servers:bsd:nginx:piwigo [2026/01/09 16:42] – [Folder] Sean Rhone | servers:bsd:nginx:piwigo [2026/06/19 02:13] (current) – [Prerequisites] Sean Rhone |
|---|
| ===== Prerequisites ===== | ===== Prerequisites ===== |
| |
| * [[bsd:server:freebsd_16.0|FreeBSD 16.0]] | * [[bsd:server:arm:freebsd_16.0|FreeBSD 16.0]] |
| * [[servers:bsd:freenginx_php_php-fpm|freenginx + PHP + PHP-FPM]] | * [[servers:bsd:freenginx_php_php-fpm|freenginx + PHP + PHP-FPM]] |
| * [[servers:bsd:nginx:lets_encrypt|Certbot (Let's Encrypt)]] | * [[servers:bsd:nginx:lets_encrypt|Certbot (Let's Encrypt)]] |
| $conf['links'] = array( | $conf['links'] = array( |
| 'https://realmofespionage.xyz' => 'Realm of Espionage', | 'https://realmofespionage.xyz' => 'Realm of Espionage', |
| 'https://wiki.realmofespionage.xyz/start' => 'RoE | Wiki', | 'https://wiki.realmofespionage.xyz' => 'RoE | Wiki', |
| 'https://blog.realmofespionage.xyz' => 'RoE | Blog', | 'https://blog.realmofespionage.xyz' => 'RoE | Blog', |
| 'https://social.realmofespionage.xyz/profile/espionage724' => 'RoE | Social', | 'https://social.realmofespionage.xyz/profile/espionage724' => 'RoE | Social', |
| 'https://forums.realmofespionage.xyz' => 'RoE | Forums', | 'https://forums.realmofespionage.xyz' => 'RoE | Forums', |
| | 'https://status.realmofespionage.xyz' => 'RoE | Status', |
| 'https://wiki.realmofespionage.xyz/user:espionage724' => 'Webmaster Info', | 'https://wiki.realmofespionage.xyz/user:espionage724' => 'Webmaster Info', |
| 'https://wiki.realmofespionage.xyz/servers:bsd:nginx:piwigo' => 'Instance Configuration Notes', | 'https://wiki.realmofespionage.xyz/servers:bsd:nginx:piwigo' => 'Instance Configuration Notes', |
| $conf['file_ext'] = array_merge( | $conf['file_ext'] = array_merge( |
| $conf['picture_ext'], | $conf['picture_ext'], |
| array('mp4','webmv','m4v','webm','mov') | array('mp4') |
| ); | ); |
| |
| |
| su 'root' -c ~/'.local/scripts/www/media/git-fix.sh' | su 'root' -c ~/'.local/scripts/www/media/git-fix.sh' |
| |
| ~/'.local/scripts/www/media/git-fix.sh' | |
| |
| ====== cron ====== | ====== cron ====== |
| su - | su - |
| |
| su -m 'www' -c "ee '/usr/local/www/media/local/config/database.inc.php'" | su -m 'www' -c "ee '/usr/local/www/media/local/config/database.inc.php'" && clear |
| |
| <code>$conf['db_host'] = '127.0.0.1';</code> | <code>$conf['db_host'] = '127.0.0.1';</code> |
| |