Nginx: Difference between revisions
No edit summary |
m Text replacement - "<(\/?)source" to "<$1syntaxhighlight" |
||
| (One intermediate revision by one other user not shown) | |||
| Line 34: | Line 34: | ||
== File Not Found == | == File Not Found == | ||
I kept getting 404's and one possibility to eliminate is whether or not your server has read access to the filesystem. You can check with: | I kept getting 404's and one possibility to eliminate is whether or not your server has read access to the filesystem. You can check with: | ||
< | <syntaxhighlight lang="bash"> | ||
# -H for set 'home' from /etc/password | # -H for set 'home' from /etc/password | ||
# -lmo for long, mode, owners | # -lmo for long, mode, owners | ||
sudo -H -u nginx namei -lmo /var/www/mediawiki | sudo -H -u nginx namei -lmo /var/www/mediawiki | ||
</ | </syntaxhighlight> | ||
== Other resources == | == Other resources == | ||
* [https://www.svennd.be/nginx-php-fpm-centos-7/ how to setup Nginx, php-fpm on Centos 7] (17 MARCH, 2017) | * [https://www.svennd.be/nginx-php-fpm-centos-7/ how to setup Nginx, php-fpm on Centos 7] (17 MARCH, 2017) | ||
* [https://webtatic.com/packages/nginx110/ Webtatic] is a source we use on CentOS for nginx | * [https://webtatic.com/packages/nginx110/ Webtatic] is a source we use on CentOS for nginx | ||
* [https://www.howtoforge.com/tutorial/how-to-monitor-nginx-using-netdata-on-centos-7/ Monitoring nginx with Netdata on CentOS 7] | |||
[[Category:Web Server]] | [[Category:Web Server]] | ||
[[Category:Webserver]] | [[Category:Webserver]] | ||