itpp2012 Wrote:
-------------------------------------------------------
> The same you would for php, php-cgi listens on a port, so does your
> application.
Hi,
sorry... I haven't been clear.
The problem I am having with nginx + fastCGI (and that I am not having running the standalone webserver is that whatever I type on my browser after "localhost" I can always see only the text (without images or css or js) of the index page.
That also if I point to "localhost/api/users". that should reply with a json array of data.
My configuration is:
server {
listen 80 default_server;
listen [::]:80 default_server ipv6only=on;
server_name localhost;
location / {
include fastcgi_params;
fastcgi_pass localhost:9000;
}
}
Mirko
-------------------------------------------------------
> The same you would for php, php-cgi listens on a port, so does your
> application.
Hi,
sorry... I haven't been clear.
The problem I am having with nginx + fastCGI (and that I am not having running the standalone webserver is that whatever I type on my browser after "localhost" I can always see only the text (without images or css or js) of the index page.
That also if I point to "localhost/api/users". that should reply with a json array of data.
My configuration is:
server {
listen 80 default_server;
listen [::]:80 default_server ipv6only=on;
server_name localhost;
location / {
include fastcgi_params;
fastcgi_pass localhost:9000;
}
}
Mirko