- From: Egor Medvedev <
>
- To:
- Subject: [chef] Re: Need help with apache2 cookbook
- Date: Sun, 30 Mar 2014 07:06:35 +0400
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.