Replies: 1 comment 1 reply
-
|
Hey that's to be expected when using nginx's repos instead of your distro's. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi o/
I'm currently using latest stable nginx (v1.28.0) on Debian 13 for the webserver. Most of the Webserver Configuration steps worked as intended, but I ran into a couple differences/issues. so I’m documenting this in case someone else gets the same.
The nginx conf defaulted under
/etc/nginx/conf.d/, so I removed thedefault.confand directly placed mypelican.confin there.Another woraround is to
include /etc/nginx/sites-enabled/*.conf;in/etc/nginx/nginx.conf, if you still want to usesites-enabled/sites-available.Logs gave the error:
unix:/run/php/php8.4-fpm.sock failed (13: Permission denied) while connecting to upstream.turns out nginx worker was running as
nginxuser, while/run/php/php8.4-fpm.sockwas owned bywww-data. I found 2 fixes that worked for me:usermod -a -G www-data nginx: addnginxuser towww-datagroup./etc/nginx/nginx.confuser towww-data.Everything else in the Setup guide worked great! really excited to see where this goes!
Beta Was this translation helpful? Give feedback.
All reactions