Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

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 David Thurstenson (thurstylark) - Thursday, 28 April 2022, 04:38 GMT
Task Type Bug Report
Category Packages: Extra
Status Assigned
Assigned To Giancarlo Razzolini (grazzolini)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

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

Loading...