Fix broken cross-references; use :doc: tags where necessary
Before adoption: this commit came in with the history the project adopted, so no landing records it.
authored by Justin W. Flory · committed by Justin W. Flory · parent 72dfb67 · Browse files · 3 files·+17 added−17 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
3 files+17 added−17 removed
- other:+17 added−17 removed
Provenance
- Commit
e771016- Tree
5ffff66- Author
Justin W. Flory <git@jwf.io>- Committer
Justin W. Flory <git@jwf.io>- Parent
72dfb67
3 files changed+17 added−17 removed
modified:docs/deploying/fastcgi.rst+4 added-4 removed
2 unmodified lines3 FastCGI4 =======5 6 FastCGI is a deployment option on servers like `nginx`_, `lighttpd`_, and7-`cherokee`_; see :ref:`deploying-uwsgi` and :ref:`deploying-wsgi-standalone`8-for other options. To use your WSGI application with any of them you will need9-a FastCGI server first. The most popular one is `flup`_ which we will use for10-this guide. Make sure to have it installed to follow along.7+`cherokee`_; see :doc:`uwsgi` and :doc:`wsgi-standalone` for other options. To8+use your WSGI application with any of them you will need a FastCGI server first.9+The most popular one is `flup`_ which we will use for this guide. Make sure to10+have it installed to follow along.11 12 .. admonition:: Watch Out13 14 Please make sure in advance that any ``app.run()`` calls you might226 unmodified linesmodified:docs/deploying/uwsgi.rst+12 added-12 removed
2 unmodified lines3 uWSGI4 =====5 6 uWSGI is a deployment option on servers like `nginx`_, `lighttpd`_, and7-`cherokee`_; see :ref:`deploying-fastcgi` and :ref:`deploying-wsgi-standalone`8-for other options. To use your WSGI application with uWSGI protocol you will9-need a uWSGI server first. uWSGI is both a protocol and an application server;10-the application server can serve uWSGI, FastCGI, and HTTP protocols.7+`cherokee`_; see :doc:`fastcgi` and :doc:`wsgi-standalone` for other options.8+To use your WSGI application with uWSGI protocol you will need a uWSGI server9+first. uWSGI is both a protocol and an application server; the application10+server can serve uWSGI, FastCGI, and HTTP protocols.11 12 The most popular uWSGI server is `uwsgi`_, which we will use for this13-guide. Make sure to have it installed to follow along.13+guide. Make sure to have it installed to follow along.14 15 .. admonition:: Watch Out16 17 Please make sure in advance that any ``app.run()`` calls you might13 unmodified lines31 32 $ uwsgi -s /tmp/yourapplication.sock --manage-script-name --mount /yourapplication=myapp:app33 34 The ``--manage-script-name`` will move the handling of ``SCRIPT_NAME`` to uwsgi,35-since its smarter about that. It is used together with the ``--mount`` directive36-which will make requests to ``/yourapplication`` be directed to ``myapp:app``.37-If your application is accessible at root level, you can use a single ``/``38-instead of ``/yourapplication``. ``myapp`` refers to the name of the file of39-your flask application (without extension) or the module which provides ``app``.40-``app`` is the callable inside of your application (usually the line reads41-``app = Flask(__name__)``.35+since it is smarter about that. It is used together with the ``--mount``36+directive which will make requests to ``/yourapplication`` be directed to37+``myapp:app``. If your application is accessible at root level, you can use a38+single ``/`` instead of ``/yourapplication``. ``myapp`` refers to the name of39+the file of your flask application (without extension) or the module which40+provides ``app``. ``app`` is the callable inside of your application (usually41+the line reads ``app = Flask(__name__)``.42 43 If you want to deploy your flask application inside of a virtual environment,44 you need to also add ``--virtualenv /path/to/virtual/environment``. You might45 also need to add ``--plugin python`` or ``--plugin python3`` depending on which27 unmodified linesmodified:docs/deploying/wsgi-standalone.rst+1 added-1 removed
35 unmodified lines36 Running `uWSGI HTTP Router`_::37 38 uwsgi --http 127.0.0.1:5000 --module myproject:app39 40-For a more optimized setup, see :ref:`configuring uWSGI and NGINX <deploying-uwsgi>`.40+For a more optimized setup, see :doc:`configuring uWSGI and NGINX <uwsgi>`.41 42 .. _uWSGI: http://uwsgi-docs.readthedocs.io/en/latest/43 .. _uWSGI HTTP Router: http://uwsgi-docs.readthedocs.io/en/latest/HTTP.html#the-uwsgi-http-https-router44 105 unmodified lines