I was setting up secure connection on django application running on Apache on my devel instance. I wanted to have access via both ways: secure and insecure. I struggled a bit, but after some time I found & figured out the most suitable configuration.
I created one file with general configuration: routing, directories, wsgi alias etc. The other contained VirtualHosts with first file linked. VirtualHost for secure connection contained also SSL configuration (naturally). Using this way I didn't violated DRY principle.
Sample TBA
No comments:
Post a Comment