i am having issues installing pytonik and running it on nginx. https://github.com/pytonik/pytonik/issues/13 some one should find solution for me thank you.
Honestly. Each stack that it says it runs on, all of them use apache, the “a” in lamp, xamp, etc.
I don’t have much experience with nginx, and that I do have was back when php5.1 was new.
Try to install it, read the errors. Double check your dependencies. Look up the errors. Post what you’ve tried, what didn’t work and the errors you have.
If it’s not working as it should, consider what about it that you are interested in and is there another tool that meets your requirements.
Are you doing a local development server?
Do you plan to move your creation to a remote server that runs nginx?
Did you pick those just because you may not be familiar with choices?
my code sample can you look into it thank you
http {
upstream pytonik {
server localhost:80;
} server {
listen 80;
server_name myproject.test;
root /urs/myproject;
location / {
fastcgi_index public/index.py;
index public/index.py;
fastcgi_param SCRIPT_FILENAME $document_root $fastcgi_script_name;
fastcgi_param DOCUMENT_ROOT $document_root;
include /urs/conf/nginx/fastcgi_params;
try_files $uri $uri/ /public/index.py?$args;
}
}