Skip to content

Commit

Permalink
Merge pull request #268 from Castaglia/docs-selinux-issue266
Browse files Browse the repository at this point in the history
Issue #266: Add a section for SELinux tweaks needed when proxying.
  • Loading branch information
Castaglia committed Mar 23, 2024
2 parents cbb0fb2 + 323d93c commit 1023153
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions mod_proxy.html
Original file line number Diff line number Diff line change
Expand Up @@ -2280,6 +2280,21 @@ <h2><a name="Usage">Usage</a></h2>
<li><code>%{note:mod_proxy.backend-url}</code>: URL to the backend/proxied server
</ul>

<p><a name="SELinux"></a>
<b>SELinux</b><br>
If using the <code>mod_proxy</code> module on an SELinux-enabled system, you
may need the following to allow for proper operations of proxying. For example,
using the following <code>mod_proxy</code> configuration:
<pre>
ProxyTables /var/ftp/proxy
</pre>
may require that you run:
<pre>
$ semanage fcontext --add --type public_content_rw_t '/var/ftp/proxy(/.*)?'
$ setsebool -P ftpd_anon_write=1
$ setsebool -P nis_enabled=1
</pre>

<p><a name="Wishlist"></a>
<b>Suggested Future Features</b><br>
The following lists the features I hope to add to <code>mod_proxy</code>,
Expand Down

0 comments on commit 1023153

Please sign in to comment.