When I create a user the default subdomain 29_froxlor_normal_vhost_breakthroug.rhlab.io.conf for instance is created like this:
server_name breakthroug.rhlab.io *.breakthroug.rhlab.io;
I would like it to listen on port 443. I have a wildcard certificate and http://* is set to redirect to https:// on my domain. Is there a setting for this somewhere that I am missing???
... a little later ...
Now I have it creating a 29_froxlor_ssl_vhost_breakthroug.rhlab.io.conf file. It was missing the ssl_certificate_key so I put it in. When I try to surf to the site I get an error:
2019/06/18 01:01:46 [error] 28498#28498: *15 "/var/customers/webs/breakthroug/index.php" is forbidden (13: Permission denied), client: 22.214.171.124, server: breakthroug.rhlab.io, request: "GET / HTTP/1.1", host: "breakthroug.rhlab.io".
There is no index.php, only an index.html. When I try to get /index.html I get:
2019/06/18 01:38:06 [crit] 28496#28496: *38 stat() "/var/customers/webs/breakthroug/index.html" failed (13: Permission denied), client: 126.96.36.199, server: breakthroug.rhlab.io, request: "GET /index.html HTTP/1.1", host: "breakthroug.rhlab.io"
I feel like maybe I am close.
... a little bit more later ....
I did `chgrp -R www-data /var/customers/webs/breakthroug` and now I see the index.html file. Then with a `chgrp www-data /var/run/1-breakthroug-breakthroug.rhlab.io-php-fpm.socket` I could also see a phpinfo.php file that I created in the same folder as the index.html.
My question remains. Are there config options in froxlor that would let me create a file in the sites-enabled folder with the ssl_certificate_key, a socket and root folder with the www-data group?