~bestpractical/rt/4.4

« back to all changes in this revision

Viewing changes to docs/web_deployment.pod

  • Committer: sunnavy
  • Date: 2023-10-19 19:21:12 UTC
  • mfrom: (8994.2.1)
  • Revision ID: git-v1:019efbaab6930affe82819ffa2e8e2ac9b5c1f2c
Merge branch '4.4.7-releng' into 4.4-trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
171
171
To run RT using mod_perl 1.xx please see L<Plack::Handler::Apache1> for
172
172
configuration examples.
173
173
 
 
174
=head3 Restricting the REST 1.0 mail-gateway
 
175
 
 
176
RT processes email via a REST 1.0 endpoint. If you accept email on the same
 
177
server as your running RT, you can restrict this endpoint to localhost only
 
178
with a configuration like the following:
 
179
 
 
180
    # Accept requests only from localhost
 
181
    <Location /REST/1.0/NoAuth/mail-gateway>
 
182
        Require local
 
183
    </Location>
 
184
 
 
185
If you run C<bin/rt-mailgate> on a separate server, you can update
 
186
the above to allow additional IP addresses.
 
187
 
 
188
    <Location /REST/1.0/NoAuth/mail-gateway>
 
189
        Require ip 127.0.0.1 ::1 192.0.2.0  # Add your actual IPs
 
190
    </Location>
 
191
 
 
192
See the L<Apache documentation|https://httpd.apache.org/docs/2.4/mod/mod_authz_host.html>
 
193
for additional configuration options.
 
194
 
 
195
After adding this configuration, test receiving email and confirm
 
196
your C<bin/rt-mailgate> utility and C</etc/aliases> configurations
 
197
can successfully submit email to RT.
174
198
 
175
199
=head2 nginx
176
200