B
B
beduin012018-03-19 12:57:36
Python
beduin01, 2018-03-19 12:57:36

What's the alternative for uwsgi command line arguments?

On the command line, the object to be called is specified like this:

uwsgi --http :9000 --wsgi-file app.py <b>--callable app</b>

How to specify the same in the config?
The application code itself:
...
app = falcon.API()
tr = TransactionsClass()
app.add_route('/', tr)
....

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Gornostaev, 2018-03-19
@beduin01

module = app:app

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question