subutai-io / snap

Required files to build SS snap package using snapcraft tool
1 stars 8 forks source link

Nginx fails might fail on too long domain names? #296

Closed etursunbaev closed 5 years ago

etursunbaev commented 6 years ago

I think some issues might be related to too long virtual domain names when creating environments On one peer the next error was caught: io.subutai.common.peer.ResourceHostException: Failed to map container port to domain Command failed: time="2018-04-10 12:38:25" level=fatal msg="Reloading nginx nginx: [emerg] could not build server_names_hash, you should increase server_names_hash_bucket_size: 64\n, exit status 1"

I think need to add this directive to nginx.conf server_names_hash_bucket_size 128;

@happyaron @samsonbek WDYT?

etursunbaev commented 5 years ago

not actual for now and snap project is not supported