Your comments

Heya all,


I have a similar situation of having to install ngx_http_realip_module and make nginx play along with CloudFlare - https://support.cloudflare.com/hc/en-us/articles/200170706-How-do-I-restore-original-visitor-IP-with-Nginx- Any idea how to achieve this with Ajenti please?


Thanks

Thanks, that worked like a charm! You rock Eugene! :)

Cheers

CreativeWolf
Thank you.

I just did that and added this directive (limit_req zone=one burst=5 nodelay;) in Advanced under Content section.
Upon restarting nginx I get the following error:
2015/08/05 15:42:18 [emerg] 26250#0: unknown limit_req_zone "one" in /etc/nginx/conf.d/mydomain.conf:31

Thoughts please?

Similar issue here as well - Fresh install of Ubuntu - Without SSL it works fine, with SSL enabled, here is the log:

Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/gevent/greenlet.py", line 327, in run
result = self._run(*self.args, **self.kwargs)
File "/usr/local/lib/python2.7/dist-packages/gevent/server.py", line 102, in wrap_socket_and_handle
ssl_socket = self.wrap_socket(client_socket, **self.ssl_args)
File "/usr/local/lib/python2.7/dist-packages/gevent/_sslgte279.py", line 636, in wrap_socket
ciphers=ciphers)
File "/usr/local/lib/python2.7/dist-packages/gevent/_sslgte279.py", line 248, in __init__
raise x
SSLEOFError: EOF occurred in violation of protocol (_ssl.c:590)
<Greenlet at 0xb31ef2fcL: <bound method SocketIOServer.wrap_socket_and_handle of <SocketIOServer at 0xb3ce1c8cL fileno=8 address=0.0.0.0:8000>>(<socket at 0xb31eecacL fileno=19 sock=xxx.xxx.xxx., ('xxx.xxx.xxx.xx', 52379))> failed with SSLEOFError
Is there a fix or a workaround please?
Thanks