- I did use mod_ssl, but I want to enable SSL for specific virtual hosts
(e.g. *:443 instead of *:80).
- Fair enough. I just added this to the function, but curious to know why
the virtual host directory is not checked for, or created.
From: Egor Medvedev [mailto:firstname.lastname@example.org]
Sent: Saturday, March 29, 2014 8:07 PM
To: email@example.com; firstname.lastname@example.org
Subject: [chef] Re: Need help with apache2 cookbook
Hello to you.
- Use mod_ssl recipe for it. It will turn on 443 port.
- As I can see, it will not create directory. You need to create it
On Thu, Mar 27, 2014 at 5:08 AM, email@example.com wrote:
I’m an infant with this stuff. I have a site.rb file, which has the
web_app “site.com” do
server_aliases [ “www.site.com” ]
I have two questions:
- How do I actually get this site recipe to generate the SSL config
for the virtual host?
- I defined docroot path, which I thought chef would create the
directory for me, but alas, it didn’t. Do I need to create it on
manually, or am I doing it incorrectly?
There is a likely chance that I’m a total idiot, and I’m doing a lot
of things incorrectly, so please bear with my noobie questions.