python - Django and SSL question -
I plan to sell products by charging credit card using SJR, it will be important for Django-powered website . And I'm very naïve for this.
My initial demo setup plan was using Apache as a webserver and using mod_wsgi to communicate with the demo,
I used to change the user account configuration pages I'm using the SSL protocol, the whole shopping sequence and maybe even good on Django adamenet.
I have official documents checked and gone, but the answers are confused instead.
- What will be the recommended method of implementing this setup SSL?
- Any suggestions on the SSL Applicant website for the first time?
- It seems that they have included the NGX on the stack. Without this, can not it be done?
Thanks
I read mod_ssl and
mod_wsgi
I'm not an Apache expert, but here's how SSL is setup for a site (in the httpd.conf
file in the instructions below or in the file referenced from that file , For example, has been put in the site-enabled
directory, if it is your Apache installation). To create and use self-signed certificates see the first document link below.
Name Splitting Host *: 443 & lt; VirtualHost *: 443 & gt; SSLEngine SSLCertificateKeyFile /etc/apache2/ssl/certificatekeyfile.crt WSGIScriptAlias / /path/to/file.wsgi & lt; on SSLCertificateFile /etc/apache2/ssl/certificatefile.crt / VirtualHost & gt; > Using mod_wsgi to host Django:
Comments
Post a Comment