andreapollastri / cipi

Install and manage your server like a pro! With Cipi you don’t need to be a Sys Admin to deploy and manage websites and PHP applications powered by cloud VPS.
https://cipi.andreapollastri.net
1.09k stars 225 forks source link

Feature request #456

Open masonbee opened 1 year ago

masonbee commented 1 year ago

A long domain name crashes the nginx server and stops it being able to restart. The problem is in the main conf (/etc/nginx/nginx.conf) in the http block with;

server_names_hash_bucket_size 64;

The default is 32 for performance reasons. In my case 64 didn't cut it either, 128 did though. (I did not choose the domain name :)).

The request would be when trying to add a stupidly long domain name that cipi throws an error with instructions on what will happen if you insist and to change the line to avoid the problem.

Great software btw. Just started playing with it tonight. Simple, straightforward, lovely.

Merci beaucoup.

masonbee commented 1 year ago

Oh, that was on the current install from the website. Not your new version.