Welcome to novaBBS (click a section below)
|mail  files  register  newsreader  login|
|nginx with tor/i2p addresses||Retro Guy|
Dropping this here if anyone might run into this.
I've moved two of my servers from running apache to nginx. So far so good, easy to configure and is working well, but I did run into an issue and here's the solution.
Once I had everything configured, I tried to run and got this error:
nginx: [emerg] could not build the server_names_hash, you should increase server_names_hash_bucket_size
The simple solution is to modify nginx.conf adding the following in http:
The suggested value of 64 may work (it didn't for me), but I have quite a few long names, so I had to use 128. This seems fine.
Also, nginx timeout waiting for php-fpm seems very short, and I was receiving a lot of 502 Bad Gateway errors. The following (also in nginx.conf:http) seem to resolve this issue (also increases buffer size):
fastcgi_buffers 128 2048k;
proxy_buffers 4 256k;
I'm sure cleaning up my code wouldn't hurt, but for now this is working well.
Posted on Rocksolid Light