- From: William Sani <
>
- To: <
>
- Subject: [chef] RE: Re: Need help with apache2 cookbook
- Date: Sun, 30 Mar 2014 12:43:08 -0700
Thanks!
1. I did use mod_ssl, but I want to enable SSL for specific virtual hosts
(e.g. *:443 instead of *:80).
2. Fair enough. I just added this to the function, but curious to know why
the virtual host directory is not checked for, or created.
William
-----Original Message-----
From: Egor Medvedev
[mailto:
Sent: Saturday, March 29, 2014 8:07 PM
To:
;
Subject: [chef] Re: Need help with apache2 cookbook
Hello to you.
1. Use mod_ssl recipe for it. It will turn on 443 port.
2. As I can see, it will not create directory. You need to create it
separately.
On Thu, Mar 27, 2014 at 5:08 AM,
<
>
wrote:
>
Hi,
>
>
I'm an infant with this stuff. I have a site.rb file, which has the
following:
>
>
web_app "site.com" do
>
server_name "site.com"
>
server_aliases [ "www.site.com" ]
>
docroot "/var/www/vhosts/site.com"
>
end
>
>
I have two questions:
>
>
1. How do I actually get this site recipe to generate the SSL config
>
for the virtual host?
>
2. 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.
>
>
Thanks.
--
Best regards,
Egor
http://aylium.net
Archive powered by MHonArc 2.6.16.