FS#74149 - [nginx] default web root path
Attached to Project:
Arch Linux
Opened by vladimir prieto (vladimirprieto) - Thursday, 17 March 2022, 18:18 GMT
Last edited by Massimiliano Torromeo (mtorromeo) - Saturday, 16 September 2023, 08:13 GMT
Opened by vladimir prieto (vladimirprieto) - Thursday, 17 March 2022, 18:18 GMT
Last edited by Massimiliano Torromeo (mtorromeo) - Saturday, 16 September 2023, 08:13 GMT
|
Details
Description:
default web root path in nginx.config is /usr/share/nginx/html but this collides with configuration of PHP-FPM on systemd.exec wich is : /etc/systemd/system/multi-user.target.wants/php-fpm.service ProtectSystem=full scripts can't write anything under /usr/share by this restriction default path should be /var/www like other distros Additional info: * nginx/1.20.2 * nginx.config |
This task depends upon
Closed by Massimiliano Torromeo (mtorromeo)
Saturday, 16 September 2023, 08:13 GMT
Reason for closing: Won't fix
Saturday, 16 September 2023, 08:13 GMT
Reason for closing: Won't fix
You can either set a document root in each "server {}" block or edit the default in "http {}" but if you don't change it is not because we want you to put your files in "/usr/share/nginx/html"