Hi all,
sorry if my request seems stupid but I am completely a newbie on nginx.
I tried to find the solution by myself and searching on this forum and on internet but I had no luck.
Basically I have an embedded webserver (developed with freepascal, it is an executable running on localhost:9000) that is developed to:
1) reply to commands on "/". Request to this usually are related to "static" files (templates that are modified on the fly and send)
2) reply to a series of REST uri (like "api/users", "api/clients" and so on).
Now, I changed the code a bit and transformed the webserver in a fastCGI because I want to take advantage of nginx speed and stability.
How should the configuration be?
I've tried several things, but nothing worked.
But again, I am a newbie.
Could you help me, please?
Mirko
sorry if my request seems stupid but I am completely a newbie on nginx.
I tried to find the solution by myself and searching on this forum and on internet but I had no luck.
Basically I have an embedded webserver (developed with freepascal, it is an executable running on localhost:9000) that is developed to:
1) reply to commands on "/". Request to this usually are related to "static" files (templates that are modified on the fly and send)
2) reply to a series of REST uri (like "api/users", "api/clients" and so on).
Now, I changed the code a bit and transformed the webserver in a fastCGI because I want to take advantage of nginx speed and stability.
How should the configuration be?
I've tried several things, but nothing worked.
But again, I am a newbie.
Could you help me, please?
Mirko