| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| servers:bsd:nginx:piwigo [2026/01/09 08:26] – [PHP-FPM Socket] Sean Rhone | servers:bsd:nginx:piwigo [2026/03/05 16:04] (current) – [config.inc.php] Sean Rhone |
|---|
| php_value[memory_limit] = "512M" | php_value[memory_limit] = "512M" |
| php_value[post_max_size] = "100M" | php_value[post_max_size] = "100M" |
| php_value[upload_max_filesize] = "20M" | php_value[upload_max_filesize] = "100M" |
| php_value[max_file_uploads] = "100" | php_value[max_file_uploads] = "100" |
| |
| $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', |
| |
| 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 ====== |
| ===== Folder ===== | ===== Folder ===== |
| |
| su - | su |
| |
| rm -Rf '/usr/local/www/media' | ls '/home/'$USER'/piwigo-files-'*'.tar.gz' && rm -Rf '/usr/local/www/media' |
| |
| tar -xzf '/home/espionage724/piwigo-files-'*'.tar.gz' -C '/usr/local/www' 'media' && chown -R 'www':'www' '/usr/local/www/media' && sync | tar -xzf '/home/'$USER'/piwigo-files-'*'.tar.gz' -C '/usr/local/www' 'media' && chown -R 'www':'www' '/usr/local/www/media' && sync |
| |
| ===== Database ===== | ===== Database ===== |
| 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> |
| |