skip to Main Content

OpenSUSE php-fpm.conf permission denied – Nginx

I cannot launch php-fpm on OpenSUSE. When I run systemctl restart php-fpm.service I receive the following error, after copying etc/php8/fpm/php-fpm.conf.default to etc/php8/fpm/php-fpm.conf [25-Apr-2021 12:52:18] ERROR: failed to open configuration file '/etc/php8/fpm/php-fpm.conf': Permission denied (13) [25-Apr-2021 12:52:18] ERROR: failed to load…

VIEW QUESTION

Django doesn't serve static files with NGINX + GUNICORN

Everything worked very well before gunicorn and nginx, static files were served to the website. But now, it doesn't work anymore. Settings.py STATICFILES_DIRS = [ '/root/vcrm/vcrm1/static/' ] STATIC_ROOT = os.path.join(BASE_DIR, 'vcrm/static') STATIC_URL = '/static/' MEDIA_ROOT = '/root/vcrm/vcrm1/vcrm/media/' MEDIA_URL = '/media/'…

VIEW QUESTION
Back To Top
Search