Skip to content

Commit

Permalink
Explain permissions in example Supervisor config
Browse files Browse the repository at this point in the history
This addresses #44
  • Loading branch information
davidjb committed Apr 14, 2022
1 parent 51fdbd5 commit 86489a3
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions CONFIG.rst
Expand Up @@ -85,9 +85,16 @@ looks like::
stdout_logfile=/var/log/supervisor/shibresponder.log
stderr_logfile=/var/log/supervisor/shibresponder.error.log

Paths will need adjusting for Debian-based distributions, and the socket
locations are arbitrary. Make note of these socket locations as you will
shortly configure Nginx with them.
Paths, users and permissions may need adjusting for different distributions or
operating environments. The socket paths are arbitrary; make note of these
socket locations as you will use them to configure Nginx.

In the example above, the web server user (e.g. ``nginx``) would need to be
made part of the ``shibd`` group in order to communicate correctly given the
socket permissions of ``660``. Permissions and ownership can be changed to suit
one's own environment, provided the web server can communicate with the FastCGI
applications sockets and that those applications can correctly access the
Shibboleth internals (e.g. ``shibd``).

Note that the above configuration requires Supervisor 3.0 or above. If you
are using RHEL/CentOS 6 with EPEL, note that their packaging is only providing
Expand Down

0 comments on commit 86489a3

Please sign in to comment.