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 06:12] – [Service] 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 291: Line 283:
 WorkingDirectory=/tmp WorkingDirectory=/tmp
  
-ExecStartPre='/usr/bin/php' -c '/etc/php8/cli/wiki.ini' '/srv/www/wiki/bin/indexer.php' -c -q+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 349: 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'
/srv/www/wiki/data/attic/servers/linux/nginx/dokuwiki.1792836754.txt.gz · Last modified: by Sean Rhone