python - cant set up the nginx server (port forwarding) -
i'm using django , nginx , gunicorn setup application.
when port forwarding 80---->80 , go ip works. when use "german god" anonymity program, not respond. mean that, when go own ip computer, program works fine.
when same outside, have no response. thought internet service provider blocks port 80.
what tried setup port forwarding 8001 ----> 80 still not work.
thats nginx config file.
server { listen 80; access_log /var/www/shop/00/access.log; error_log /var/www/shop/00/error.log; location /static/ { alias /var/www/shop/00/static/; } location / { proxy_pass http://127.0.0.1:8888; } }
thats nginx config file.
bind = u"127.0.0.1:8888" logfile = u"/var/www/shop/00/gunicorn.log" workers = 3
and port forwarding so:
thanks in advance.
Comments
Post a Comment