User Tools

Site Tools


servers:bsd:nginx:piwigo

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
servers:bsd:nginx:piwigo [2026/01/09 16:38] – [PHP-FPM Socket] Sean Rhoneservers:bsd:nginx:piwigo [2026/06/19 02:13] (current) – [Prerequisites] Sean Rhone
Line 8: Line 8:
 ===== 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)]]
Line 192: Line 192:
 $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',
Line 205: Line 206:
 $conf['file_ext'] = array_merge( $conf['file_ext'] = array_merge(
   $conf['picture_ext'],   $conf['picture_ext'],
-  array('mp4','webmv','m4v','webm','mov')+  array('mp4')
   );   );
  
Line 330: Line 331:
  
   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 ======
Line 415: Line 414:
   su   su
  
-  rm -Rf '/usr/local/www/media'+  ls '/home/'$USER'/piwigo-files-'*'.tar.gz' && rm -Rf '/usr/local/www/media'
  
   tar -xzf '/home/'$USER'/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
Line 433: Line 432:
   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>
  
/usr/local/www/wiki/data/attic/servers/bsd/nginx/piwigo.1767994705.txt.gz · Last modified: by Sean Rhone