>>> I have (still) not added support for magic vars (%s, %n ...) as i have >>> just added them to ini/xml/yaml parsing. So independently from the >>> Emperor >>> you can use the following vars in your config files: >>> >>> %s the filename of the config file >>> %o the original string passed to --xml/--yaml/--ini >>> %p the full path of the config file >>> %n the filename of the config file without extension >>> %e the estension of the config file > >> <uwsgi> >> <chdir>/home/%n/www</chdir> >> <socket>/var/sockets/%s.sock</socket> >> <module>wsgi_app</module> >> <uid>%n</uid> >> <gid>%n</gid> >> </uwsgi> > > These config files should not be controlled by the users, right? >
Right, the only modification the user can do is in the wsgi_app.py file (as before it get executed all the privileges has dropped and eventually chrooting/jailing is in place) -- Roberto De Ioris http://unbit.it _______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
