Forum > Networking and Web Programming

FCGI (FastCGI) step by step, using fpweb/fcl-web for Windows/Linux

<< < (10/10)

I install alibaba TENGINE for NGINX.

It seems well done.

There is FastCGI module but to let Fast CGI working i need to use fcgi wrapper.

How can i do ? I have 502 bad gateway error.

My config :
server {
        listen       80;
        server_name  localhost;
        access_log  /var/log/nginx/fastcgi.access.log;
        index index.html index.php index.html;
        root /var/www;
        location /cgi
        location ~ \.fcgi$
            include fastcgi_params;
#           fastcgi_pass unix:/var/run/fcgi.sock;
            fastcgi_index  hellow.fcgi;
            fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
            fastcgi_param AUTH_USER $remote_user;
            fastcgi_param REMOTE_USER $remote_user;


[0] Message Index

[*] Previous page

Go to full version