> On Wed, Nov 5, 2014 at 6:55 AM, Roberto De Ioris <[email protected]> wrote:
>>
>>> On Wed, Nov 5, 2014 at 1:06 AM, Roberto De Ioris <[email protected]>
>>> wrote:
>>>>
>>>>> Trying to get uWSGI going with nginx and django, following the
>>>>> directions here:
>>>>> https://uwsgi.readthedocs.org/en/latest/tutorials/Django_and_nginx.html
>>>>>
>>>>> I am running version 1.9.17.1-debian on Ubuntu using python3.
>>>>>
>>>>>
>>>>> First test on that page:
>>>>>
>>>>> uwsgi --http :8000 --wsgi-file test.py
>>>>>
>>>>> uwsgi: option '--http' is ambiguous; possibilities: '--http-socket'
>>>>> '--http-socket-modifier2' '--http-socket-modifier1'
>>>>>
>>>>> Tried --http-socket:
>>>>>
>>>>> uwsgi --http-socket :8000 --wsgi-file test.py
>>>>> uwsgi: unrecognized option '--wsgi-file'
>>>>>
>>>>>
>>>>>
>>>>
>>>> Start from here:
>>>>
>>>> http://uwsgi-docs.readthedocs.org/en/latest/WSGIquickstart.html
>>>>
>>>> and after heaving a clear view of how thing works (particularly
>>>> monolithic
>>>> vs modular builds) you should be able to adapt the tutorial to your
>>>> setup.
>>>
>>> I think you missed the issue I raised in my message. The tutorial
>>> (both the one I posted and the one you did) specify using the
>>> '--http' and '--wsgi-file' command line options, and neither one of
>>> those seem to exist.
>>>
>>
>> I think you missed my sentence "particularly monolithic vs modular
>> builds" :)
>>
>> Lukasz already gave you the solution, the quickstart has a couple of
>> notes
>> about debian packages that is why i linked it to you.
>
> I saw it, but I didn't grasp the significance of it. Thanks for the
> replies guys.
>
> I'm now using this guide to get set up:
>
> http://yodi.polatic.me/setup-latest-uwsgi-django-in-production-ubuntu-14-04/
>
> Although I have not yet been successful.
> _______________________________________________
>


Why you do not follow the official quickstart ? You can install uWSGI via
pip, and once you understand how it works you can move to distro packages.


-- 
Roberto De Ioris
http://unbit.it
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to