Difference between revisions of "CentOS Server Config"

From Colettapedia
Jump to navigation Jump to search
Line 17: Line 17:
  
 
===Log files===
 
===Log files===
* /var/log/
+
* /var/log/nginx/*.log
 +
* var/log/audit/audit.log - SELinux issues go here
  
 
==Steps==
 
==Steps==

Revision as of 16:16, 27 September 2019

References

Components

Important files

  • TBD: set up a tmux that opens up all of these automatically

Config files

  • /etc/nginx/nginx.conf
  • /etc/php-fpm.d/www.conf
  • /etc/php.ini

Log files

  • /var/log/nginx/*.log
  • var/log/audit/audit.log - SELinux issues go here

Steps

  • Change the listen variables in /etc/php-fpm.d/www.conf to match with the nginx child processes users
    • systemctl restart php-fpm
  • Make sure /var/lib/php/session directory is group is nginx


Troubleshooting

  • systemctl status php-fpm