litespeedtech / ols-docker-env

OpenLiteSpeed Docker Environment

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How can I find vhconf.conf

nguyenrom opened this issue · comments

Hi,

I have made new site and I need to config vhconf.conf but I only see "Example" virtual host

root@7e7beecf8bd7:/usr/local/lsws/conf/vhosts# ls
Example

How can I vhconf.conf for special virtual host for special site?

Thank you so much,
Nguyen

commented

Hi,
The stack comes with a template virtual host, not using the individual. If you want to set up a special vhost, you might want to create and set up it manually.

Hi @Code-Egg ,

I understand that the sites are currently using docker.conf as the default, right?

root@7e7beecf8bd7:/usr/local/lsws/conf/templates# ls
ccl.conf      ccl.conf0    docker.conf.txt  rails.conf      rails.conf0
ccl.conf.txt  docker.conf  docker.conf0     rails.conf.txt

Can you tell me if this repo can create sites directly in Virtual Hosts instead of in the Docker template?

I tried to find the "Instantiate" command line to move a site into Virtual Hosts, but couldn't locate it.

Thank you so much,
Nguyen

commented

Yes, that is the default conf file.

Not at the moment, see the issue

May I ask what's the special setting you want to apply for that virtual host?

Hi @Code-Egg ,

I see the Instantiate feature (to convert Virtual Host from vHost Template to Virtual Host)

Is the command line available for this feature?

CleanShot 2023-03-19 at 15 51 54@2x

commented

Nope, but you can click it manually.

Thanks @Code-Egg so much!
Nguyen