uwsgi_pass equivalent?

#1
I would like to replace my nginx server with OpenLiteSpeed completely but I've hit one problem:

there is a python application on a seperate server which nginx serves as a reverse proxy with the folowing config:

server {
client_max_body_size 250M;
listen 443 ssl;
server_name xxxxxxxxxxxxxxxxxxx
ssl_certificate /etc/ssl/xxxxxxxxxxxxxx.crt;
ssl_certificate_key /etc/ssl/xxxxxxxxxxxxx.key;

location / {
include uwsgi_params;
uwsgi_pass xxx.xxx.xxx.xxx:xxxx;
}
}

Can Litespeed do something similar to uwsgi_pass?
 
#3
Hey Eric, thanks for the reply.

As far as I can see this is to run python code on the same server as LiteSpeed. However, this application needs to be run on a separate server, therefore I need a connection over the network for wsgi which is what uwsgi_pass accomplishes on nginx.

Is there any way to do this?
 

Cold-Egg

Administrator
#4
No plan for uwsgi, but it should be possible to connect to the remote lswsgi process using TCP.
lswsgi uses LSAPI protocol, server-side need to configures a remote LSAPI application. I will schedule a time to give this scenario a try.
 
Top