cherokee / webserver

Cherokee Web Server
GNU General Public License v2.0
568 stars 104 forks source link

Information about cherokee directive instead of using cherokee-admin #1244

Open emiliocamposmartin opened 4 years ago

emiliocamposmartin commented 4 years ago

Hi, I am trying to understand how the Cherokee directives work in cherokee.conf file instead of using the cherokee-admin and I am not able to find a complete description about those directives.

I need to implement some DH parameters config without using the cherokee-admin as described in this URL: https://cherokee-project.com/doc/config_advanced.html

but I don't find any directive for DH parameters 2048 bits or 4096 bits, the cherokee.conf directives description in the following URL: http://cherokee-project.com/doc/dev_cherokee.conf.html

are a little bit poor.

Any help related to this will be appreciated.

skinkie commented 4 years ago

Not using the admin is really a bad idea. What is the reason you cannot configure cherokee using the admin, and copy the configuration file to a system that you want to run it on?

emiliocamposmartin commented 4 years ago

cherokee-admin gives a 503 Server Error when I try to connect, I see that it is a waste of time troubleshooting a configuration tool that doesn't work if you want to configure something so simple as a directive.

skinkie commented 4 years ago

Are you using the master version of cherokee, or something packaged by a distribution?

KenjiBrown commented 4 years ago

On 20/08/20 4:22, Stefan de Konink wrote:

Not using the admin is really a bad idea. What is the reason you cannot configure cherokee using the admin, and copy the configuration file to a system that you want to run it on?

Automated provisioning scripts.

-- Sandino Araico Sánchez http://1101.mx

skinkie commented 4 years ago

@KenjiBrown that still does not tell us which version you are using.

KenjiBrown commented 4 years ago

Mine is cherokee-1.2.104-r2 from Gentoo Portage. I use a custom script and templates to generate include files for cherokee config.

skinkie commented 4 years ago

I don't know if you are the same person as the issue reporter. But if you have a 503 error, I would suggest to compile cherokee from master, which includes a fix regarding IPv6. Alternatively update /etc/hosts not to have ::1.

KenjiBrown commented 4 years ago

I am a different user. I will try updating /etc/hosts not to have ::1.

KenjiBrown commented 4 years ago

Commenting out #::1 localhost in /etc/hosts fixed the 503 issue

skinkie commented 4 years ago

Commenting out #::1 localhost in /etc/hosts fixed the 503 issue

I would suggest to compile Cherokee from github. Many fixes.