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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user