User Tools

Site Tools


servers:linux:nginx:dokuwiki

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:linux:nginx:dokuwiki [2026/10/24 04:47] – Sean Rhoneservers:linux:nginx:dokuwiki [2026/10/27 01:38] (current) – Sean Rhone
Line 56: Line 56:
 ; Temp ; Temp
 php_value[session.upload_progress.enabled] = "0" php_value[session.upload_progress.enabled] = "0"
-php_value[fatal_error_backtraces] = "0" 
-php_value[memory_limit] = "-1" 
-php_value[post_max_size] = "1M" 
  
 ; End</code> ; End</code>
Line 78: Line 75:
 ; Temp ; Temp
 session.upload_progress.enabled = "0" session.upload_progress.enabled = "0"
-fatal_error_backtraces = "0" 
-memory_limit = "-1" 
-post_max_size = "1M" 
  
 ; End</code> ; End</code>
Line 135: Line 129:
  root '/srv/www/wiki';  root '/srv/www/wiki';
  index 'doku.php';  index 'doku.php';
- 
- client_max_body_size '1M'; 
  
  include '/etc/nginx/default.d/wiki.conf';  include '/etc/nginx/default.d/wiki.conf';
Line 190: Line 182:
   * This prevents -- from becoming a – (long hyphen), which breaks some command's syntax   * This prevents -- from becoming a – (long hyphen), which breaks some command's syntax
  
-  echo '--      --' | sudo tee '/srv/www/wiki/conf/entities.local.conf' > '/dev/null' && sudo chown 'wwwrun':'www' '/srv/www/wiki/conf/entities.local.conf'+  echo '--      --' | sudo tee '/srv/www/wiki/conf/entities.local.conf' > '/dev/null' && sudo chown 'wwwrun':'www' '/srv/www/wiki/conf/entities.local.conf' && sudo chmod -R '0755' '/srv/www/wiki/conf/entities.local.conf'
  
 ====== Services ====== ====== Services ======
Line 211: Line 203:
 ExecStart='/usr/bin/git' -C '/srv/www/wiki' pull origin 'master' --rebase ExecStart='/usr/bin/git' -C '/srv/www/wiki' pull origin 'master' --rebase
  
-ExecStart='/usr/bin/php' -c '/etc/php8/cli/wiki.ini' '/srv/www/wiki/bin/indexer.php' --clear+ExecStart='/usr/bin/php' -c '/etc/php8/cli/wiki.ini' '/srv/www/wiki/bin/indexer.php' -q
  
 ExecStartPost='/usr/bin/touch' '/srv/www/wiki/conf/local.php' ExecStartPost='/usr/bin/touch' '/srv/www/wiki/conf/local.php'
Line 290: Line 282:
  
 WorkingDirectory=/tmp WorkingDirectory=/tmp
 +
 +ExecStart='/usr/bin/php' -c '/etc/php8/cli/wiki.ini' '/srv/www/wiki/bin/indexer.php' -c -q
  
 ExecStart='/usr/bin/git' -C '/srv/www/wiki' gc --aggressive --prune='all' ExecStart='/usr/bin/git' -C '/srv/www/wiki' gc --aggressive --prune='all'
Line 347: Line 341:
 ===== Git Fix ===== ===== Git Fix =====
  
-  * :!: Set email for ''user.email''+  * :!: Set ''user.email''
  
   sudo su 'wwwrun' -s '/bin/bash'   sudo su 'wwwrun' -s '/bin/bash'
Line 377: Line 371:
   sudo su 'wwwrun' -s '/bin/bash'   sudo su 'wwwrun' -s '/bin/bash'
  
-  cd '/tmp' && '/usr/bin/php' '/srv/www/wiki/bin/indexer.php' --clear+  cd '/tmp' && '/usr/bin/php' -c '/etc/php8/cli/wiki.ini' '/srv/www/wiki/bin/indexer.php' --clear
  
   exit   exit
Line 397: Line 391:
   sudo su 'wwwrun' -s '/bin/bash'   sudo su 'wwwrun' -s '/bin/bash'
  
-  cd '/tmp' && '/usr/bin/php' '/srv/www/wiki/bin/wantedpages.php'+  cd '/tmp' && '/usr/bin/php' -c '/etc/php8/cli/wiki.ini' '/srv/www/wiki/bin/wantedpages.php'
  
-  cd '/tmp' && '/usr/bin/php' '/srv/www/wiki/bin/wantedpages.php' --help+  cd '/tmp' && '/usr/bin/php' -c '/etc/php8/cli/wiki.ini' '/srv/www/wiki/bin/wantedpages.php' --help
  
   exit   exit
  
/srv/www/wiki/data/attic/servers/linux/nginx/dokuwiki.1792831650.txt.gz · Last modified: by Sean Rhone