Access root files with puma in development

171 Views Asked by At

When accessing my ssl certs with nginx from /etc/ssl/, everything works fine. But when I run rails development server (puma) as the normal user, it can't access the key in /etc/ssl/private/ because of permissions.

How can I access /etc/ssl/private from the rails server? Do I need to add my user to a group or run the server with a different command?

0

There are 0 best solutions below