websites/d…and…t: Configure formsubmit

To handle the RSVP form on *dustinandtabitha.com*, we are going to use
*formsubmit*.  It runs on the same machine that hosts the website, so
there's no dealing with CORS.  The */submit/rsvp* path, which is proxied
to the backend, is the RSVP form's target.
This commit is contained in:
2022-02-27 17:50:06 -06:00
parent b350698148
commit 5485fc6f93
5 changed files with 41 additions and 0 deletions

View File

@@ -19,6 +19,8 @@ SSLCertificateFile /etc/pki/tls/certs/dustinandtabitha.com.cer
Strict-Transport-Security "max-age=63072000; includeSubDomains"
</IfModule>
RewriteEngine On
RewriteRule /submit/rsvp http://127.0.0.1:8000/weddingrsvp [P]
DocumentRoot /srv/www/dustinandtabitha/htdocs
<Directory /srv/www/dustinandtabitha/htdocs>