The answer is: .ini

It took me two days to find this bug and fix it. I'm a noob to web2py and 
nginx. I wanted to make sure my production setup works before I develop a 
web2py site because that always causes me the most trouble. I haven't 
learned how to submit the fix yet, but it is such an easy one to do and 
would save other noob's alot of time/frustration.

Can someone submit the fix for me or should I learn to do it?

Thank you for web2py, I really like this framework -- my favorite so far!


On Saturday, April 26, 2014 2:51:04 AM UTC-6, Cynthia Butler wrote:
>
> Which file extension is correct, .xml or .ini , in this snippet from
> "web2py/scripts/setup-web2py-nginx-uwsgi-ubuntu.sh"?
>
> # Create configuration file /etc/uwsgi/web2py.xml
> echo '[uwsgi]
>
> socket = /tmp/web2py.socket
> pythonpath = /home/www-data/web2py/
> mount = /=wsgihandler:application
> processes = 4
> master = true
> harakiri = 60
> reload-mercy = 8
> cpu-affinity = 1
> stats = /tmp/stats.socket
> max-requests = 2000
> limit-as = 512
> reload-on-as = 256
> reload-on-rss = 192
> uid = www-data
> gid = www-data
> cron = 0 0 -1 -1 -1 python /home/www-data/web2py/web2py.py -Q -S welcome 
> -M -R scripts/sessions2trash.py -A -o
> no-orphans = true
> ' >/etc/uwsgi/web2py.ini
> ...
>
> ## to reload web2py only (without restarting uwsgi)
> # touch /etc/uwsgi/web2py.xml
>
> Thank you!
>
>
>
>
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to