LiteSpeed with Nginx reverse-proxy

stmx

New Member
#1
Hi,

I cannot find instructions how to install LiteSpeed + Nginx as frontend.
LiteSpeed have many settings but I cannot configure it to protect my site which under DDoS attack and sometimes inaccessible.

Nginx have Rate-Limiting for every IP feature that I need for multiple locations (so and disable protection for some links), I also need Regular-Expressions to tune it for my PHP script. LiteSpeed cannot do this for me at the moment.

I successfully setup configuration for any Apache but not LiteSpeed, so can you help with this?
 

stmx

New Member
#2
My nginx configuration like this do not working:

Code:
  server {
  access_log /var/log/nginx/access.log main;
  error_log  /var/log/nginx/vhost-error_log warn;
  listen 80;
  listen 443;
  server_name site.ru www.site.ru;

  root /home/user/www;
        
  location / {
   proxy_redirect  off;

   proxy_pass   http://127.0.0.1:8083; # LiteSpeed Port

   proxy_set_header   Host   $host;
   proxy_set_header   X-Real-IP  $remote_addr;
   proxy_set_header   X-Forwarded-For $proxy_add_x_forwarded_for;
}
}
 
Top