Commit graph

106 commits

Author SHA1 Message Date
pgjones
bc1fea4e3a Update the docs on serving with ASGI
Whilst it has been possible to serve via an ASGI server for a while
(using WSGI to ASGI middleware/adapters) it hasn't added much. Now
though it makes sense to recommend the asgiref adapter as it
integrates with the same event loop used for async route handlers
etc...
2021-04-17 11:30:22 +01:00
David Lord
d81e5f8b6c Merge branch '1.1.x' 2020-11-04 18:25:37 -08:00
Sarthak Vineet Kumar
024417694e updated doc for mod_wsgi (#3751)
Co-authored-by: Sarthak <sarthak@MacBook.local>
2020-11-04 18:20:36 -08:00
David Lord
1de5873d66 remove unused ref directives
replace page refs with doc directives
2020-04-04 12:57:14 -07:00
David Lord
c0c76bd651 remove Python 2 from docs 2020-04-04 12:05:44 -07:00
Tobias Sette
4a5f5fc0a2 docs: update "Deploying on Google App Engine"
Use the documentation for Python 3 instead of Python 2, which is deprecated.
2020-03-16 19:18:53 -03:00
David Lord
ff0c92a1c7 Merge branch '1.0.x' 2019-06-23 16:57:52 -07:00
David Lord
363741ec69 fix docks linkcheck 2019-06-23 15:37:51 -07:00
David Lord
316caad5db Merge branch '1.0.x' 2019-05-16 12:18:36 -07:00
Charles Ross
4f3dd3183f update docs on gunicorn deploy and app discovery 2019-05-16 10:45:03 -07:00
Tom-McDonald
406df032bc replaced deprecated sample code in proxy-setup docs 2019-05-16 09:54:49 -07:00
David Baumgold
3b6d1ecd24 fix RST line too long 2019-05-06 11:11:32 -04:00
Emlyn Price
7c429a182b Add comment about using factory function in __init__.py 2019-01-04 22:12:53 +00:00
Aditya
fa50bdd372 Use https for external links wherever possible 2018-10-27 17:58:45 +05:30
Grey Li
95008cf43d Add prefix for all commands in documentation (#2877)
* Add prefix for commands in docs

* Add prefix for commands in example's README
2018-09-09 17:41:56 +09:00
Justin W. Flory
82bff7585c Fix broken cross-references; use :doc: tags where necessary 2018-07-11 10:12:18 -05:00
David Lord
f15a5c84a6 Merge pull request #2806 from doobeh/uwsgi_doc_fix
Set uwsgi link to use :ref:
2018-05-28 12:25:06 -07:00
Anthony Plunkett
32fc4d0938 Set uwsgi link to use :ref:
Fixes #2802
2018-05-28 15:10:55 -04:00
Tiago Coutinho
669cd2fdda Update gevent wsgi
gevent.wsgi is deprecated since gevent 1.1 and removed in gevent 1.3. 
gevent.pywsgi should be used instead
2018-05-21 08:10:16 +02:00
David Lord
010156c80a use theme provided by pallets-sphinx-themes 2018-04-18 12:05:31 -07:00
Hsiaoming Yang
8cdcf398cf Remove python 2.6 and 3.3 everywhere. (#2583) 2018-01-06 10:49:50 +01:00
Grey Li
229d5ccacf Docs: update built-in server description 2017-12-01 16:03:52 +08:00
Per Mortensen
3be3608eca Update Twisted Web example 2017-11-22 22:40:23 +01:00
Brett Johnson
1c26e9ced0 Update App Engine link
Point to an authoritative site for Flask on App Engine that is maintained.
2017-08-30 14:58:05 -07:00
Tully Rankin
6fc1b1c7a6 Added uWSGI and example usage to stand-alone WSGI containers documentation (#2302) 2017-05-22 18:08:40 -07:00
Tully Rankin
089c8cdc00 Moved mod_wsgi under uwsgi in TOC deployment docs. 2017-05-22 15:13:31 -07:00
Tully Rankin
d6254174c3 Moved WSGI-Standalone above mod_wsgi in deployment documentation. 2017-05-22 14:48:24 -07:00
Jeff Widman
2ad2aadb88 Migrate various docs links to https (#2180)
Also fixed a few outdated links
2017-02-11 10:43:11 +01:00
Bryce Guinta
e474e244f8 Fix fastcgi lighttpd example documentation. (#2138)
Add a trailing slash to the dummy path in the fastcgi lighttpd setup
documentation. Omitting a trailing slash leads to unintended behavior.
2017-01-01 18:51:21 -08:00
ezramorris
7f0240cabc Add link to AWS EB Flask tutorial 2016-11-17 14:01:30 +00:00
Giles Thomas
9e309d1b0c Added a link to instructions for PythonAnywhere (#2081) 2016-11-07 10:10:02 -08:00
Douglas Thor
114257ed58 Updated mod_wsgi.rst to point to new mod_wsgi repo (#2038) 2016-09-24 13:07:19 +02:00
Auke Willem Oosterhoff
387add139b Use path of socket consistently accross document. (#1976)
* #1975 Use location of socket consistently accross document.
2016-08-03 09:22:14 -07:00
Adam Chainz
fdb0ae918f Convert readthedocs link for their .org -> .io migration for hosted projects (#1827)
As per their email ‘Changes to project subdomains’:

> Starting today, Read the Docs will start hosting projects from subdomains on the domain readthedocs.io, instead of on readthedocs.org. This change addresses some security concerns around site cookies while hosting user generated data on the same domain as our dashboard.

Test Plan: Manually visited all the links I’ve modified.
2016-05-29 15:49:38 +02:00
Jeff Widman
b039671f36 Remove dotCloud host instructions
dotCloud is no more; their parent company went bankrupt
2016-04-06 23:30:41 -07:00
Stéphane Raimbault
2649e4aa24 Extend documentation about uwsgi/nginx deployment 2016-04-04 08:53:34 +02:00
bagratte
de4e0a553c minor revision of documentation. 2016-04-01 23:12:25 +02:00
Markus Unterwaditzer
337da86009 Merge pull request #1456 from jonafato/proxy-setup-x-forwarded-proto
Add X-Forwarded-Proto header to proxy setup example docs
2016-02-17 22:02:22 +01:00
accraze
bf3675e952 added note about directory permission syntax change
docs had httpd 2.2 syntax for directory permission with a link to Apache 2.4 changes. added an example of httpd 2.4 syntax

resolves #1644
2015-12-09 20:24:23 -08:00
Armin Ronacher
cb4eec7bcb Merge pull request #1558 from JonasGroeger/master
Update uwsgi/nginx deployment documentation
2015-11-12 13:08:56 +01:00
David Lord
952a2c770f Link article about deploying on Azure/IIS 2015-10-31 15:17:45 -07:00
Michael Klich
f09eb51475 Add info about working with VE and Python 3
Python 3 does not have execfile function.
2015-10-29 19:03:20 -07:00
Jonas Gröger
88683f0447 Mention virtual environments in uwsgi/nginx deployment docs 2015-08-22 01:05:45 +02:00
Jonas Gröger
ad3232eefc Update uwsgi/nginx deployment documentation
Instead of using the uwsgi_modifier1 30 directive, the uwsgi docs
recommend to use the mount / manage-script-name approch which mounts
a module + callable to a certain path. This way, SCRIPT_NAME and
PATH_INFO are correctly rewritten.

See http://uwsgi-docs.readthedocs.org/en/latest/Nginx.html#hosting-multiple-apps-in-the-same-process-aka-managing-script-name-and-path-info

Fixes #1464
2015-08-22 00:56:54 +02:00
Wayne Ye
e291dc41b4 Fixed gevent introduction to use libev instead of libevent 2015-07-14 12:36:01 -07:00
Jon Banafato
138b28e17d Add X-Forwarded-Proto to proxy setup example
The ProxyFix middleware provided by Werkzeug uses this header for
returning accurate values from request.is_secure and request.scheme.
Without adding this header, Flask won't properly detect when it is being
served over HTTPS and will fail to generate proper external links and
cause certain extensions (e.g. Flask-OAuthlib) to function improperly.
Adding this header to the example setup should reduce issues encountered
by developers when following this guide.
2015-05-09 12:29:53 -04:00
Charles Chan
1224aaa51a Added OpenShift as a free hosting provider alternative 2015-03-31 16:13:29 -07:00
Markus Unterwaditzer
b554c644c0 Merge branch 'flask_deployment_docs'
Conflicts:
	docs/quickstart.rst
2014-12-04 22:39:28 +01:00
defuz
f865a7ffd6 docs: `.html, .py` 2014-11-05 07:52:04 +03:00
defuz
d81e6f85af docs: `Flask-Uploads, X-Forwarded-Host` 2014-11-05 07:23:47 +03:00