Answer the question
In order to leave comments, you need to log in
Is it possible to use Golang or Python for nginx like PHP?
Is it possible to use Golang or Python for nginx like PHP?
I heard about the fact that nginx and other web servers transmit requests to performers. For php it is cgi, fastsgi.
Can these requests be passed to golang or python?
So that in these PLs you can write like in php:
Or
That is, to use golang or python as a backend.
I know that web servers are launched by these same executors and pass environment variables there, for example, an array of SERVER, COOKIE, etc. But I did not find anything suitable on the Internet.
Heard about different frameworks, but this is not particularly suitable.
$data = $_COOKIE['volume'];
echo 123;
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question