Skip to content

Commit 86489a3

Browse files
authored
Explain permissions in example Supervisor config
This addresses #44
1 parent 51fdbd5 commit 86489a3

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

CONFIG.rst

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,16 @@ looks like::
8585
stdout_logfile=/var/log/supervisor/shibresponder.log
8686
stderr_logfile=/var/log/supervisor/shibresponder.error.log
8787

88-
Paths will need adjusting for Debian-based distributions, and the socket
89-
locations are arbitrary. Make note of these socket locations as you will
90-
shortly configure Nginx with them.
88+
Paths, users and permissions may need adjusting for different distributions or
89+
operating environments. The socket paths are arbitrary; make note of these
90+
socket locations as you will use them to configure Nginx.
91+
92+
In the example above, the web server user (e.g. ``nginx``) would need to be
93+
made part of the ``shibd`` group in order to communicate correctly given the
94+
socket permissions of ``660``. Permissions and ownership can be changed to suit
95+
one's own environment, provided the web server can communicate with the FastCGI
96+
applications sockets and that those applications can correctly access the
97+
Shibboleth internals (e.g. ``shibd``).
9198

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

0 commit comments

Comments
 (0)