Commit Graph

124 Commits

Author SHA1 Message Date
Auke Willem Oosterhoff e6d7a43ccd 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 70de011d51 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 8c595f1eba Remove dotCloud host instructions
dotCloud is no more; their parent company went bankrupt
2016-04-06 23:30:41 -07:00
Stéphane Raimbault b0105f41cc Extend documentation about uwsgi/nginx deployment 2016-04-04 08:53:34 +02:00
bagratte 9a80fe691d minor revision of documentation. 2016-04-01 23:12:25 +02:00
Markus Unterwaditzer e7d548595e 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 fcd573e120 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 751fe451df Merge pull request #1558 from JonasGroeger/master
Update uwsgi/nginx deployment documentation
2015-11-12 13:08:56 +01:00
David Lord 41622c8d68 Link article about deploying on Azure/IIS 2015-10-31 15:17:45 -07:00
Michael Klich 99bc0dfd3b 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 b644e2747f Mention virtual environments in uwsgi/nginx deployment docs 2015-08-22 01:05:45 +02:00
Jonas Gröger 8b9cb6caa7 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 05c2e7c276 Fixed gevent introduction to use libev instead of libevent 2015-07-14 12:36:01 -07:00
Jon Banafato 887d382da1 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 6c56e4231f Added OpenShift as a free hosting provider alternative 2015-03-31 16:13:29 -07:00
Markus Unterwaditzer f166894f76 Merge branch 'flask_deployment_docs'
Conflicts:
	docs/quickstart.rst
2014-12-04 22:39:28 +01:00
defuz d338dc8a13 docs: ``.html``, ``.py`` 2014-11-05 07:52:04 +03:00
defuz 17eee81da0 docs: ``Flask-Uploads``, ``X-Forwarded-Host`` 2014-11-05 07:23:47 +03:00
defuz 06d9a5e738 docs: :file:`/var/www/foo`, ``/static`` 2014-11-05 07:19:02 +03:00
defuz ad011bc32d docs: ``DEBUG``, ``SERVER_NAME``, ``PATH_INFO`` 2014-11-05 07:10:49 +03:00
defuz a8f570cc62 docs: :file:`app.py`, :file:`yourapp/templates` 2014-11-05 06:45:22 +03:00
Mieszko 2cfdf7a839 Minor typos and spelling fixed
According to http://dictionary.cambridge.org/ "webserver" is incorrect, "web server" = correct
2014-11-03 10:29:05 +01:00
Ben Darnell e401a83fc5 Stop recommending Tornado as a WSGI server
Tornado's WSGI server is less scalable than the alternatives and only really makes sense when you have a specific need to run both WSGI apps and Tornado-native apps in the same process. This recommendation has been an ongoing source of confusion, e.g. http://stackoverflow.com/questions/26015116/making-tornado-to-serve-a-request-on-a-separate-thread.

Fixes #986.
2014-09-25 09:35:46 -04:00
Markus Unterwaditzer 750fa594d8 Shorten paragraph about builtin server 2014-09-06 23:05:00 +02:00
Markus Unterwaditzer 3d3b809347 Rewrite deployment docs 2014-09-06 22:20:02 +02:00
Nico Revin 22219f51e5 Update doclinks
Fix redirects and broken links
2014-07-24 23:30:50 +04:00
Wxcafé (Clément Hertling) 777e23f81e Update mod_wsgi.rst
Changes deprecated pkg_add to pkg install, adds documentation for yum
2014-06-16 22:07:20 +02:00
EJ Lee 6b9370a854 Update mod_wsgi.rst
note configuration changes in apache 2.4
2014-06-02 21:28:27 +09:00
Daniel Neuhäuser 13293b499f Use libevent.org 2014-04-26 01:38:20 +02:00
Daniel Neuhäuser 34871a286e Switch pypi links to https
To which the http version redirects permanently
2014-04-26 01:30:28 +02:00
Armin Ronacher a8a98bc6b6 Various documentation fixups 2014-02-08 22:10:08 +00:00
bool-dev 85aa4ec8c1 Updated greenlet links, which were dead. 2014-01-04 17:21:18 +05:30
Adam Obeng 9cff681f97 Fix typo 2013-08-24 21:21:18 -04:00
Armin Ronacher c541f7e3ee Fixed a typo 2013-07-26 23:44:40 +02:00
Eric Radman 73b4a52ca5 Update example for Apache FCGI config to use worker processes using FastCgiServer, along with some notes about FastCgiExternalServer 2013-07-26 15:07:40 -04:00
Markus Unterwaditzer c549e583c4 Fixing my own pull request #647
Wrote "stdin" instead of "stdout".
2012-12-19 15:49:13 +01:00
Markus Unterwaditzer 160aa80781 Added hint about print statements in CGI.
Fix #646
2012-12-10 21:56:49 +01:00
Corbin Simpson f6a5a7a0cc docs/deploying/wsgi-standalone: Add Twisted Web.
I've been meaning to do this for quite some time, but I never got around to
it. Hopefully this is neutral and useful enough to be included in the main
docs.
2012-10-11 14:05:01 -07:00
Armin Ronacher c01d36aabd Merge pull request #548 from SimonSapin/patch-6
Remove the unused `ScriptNameStripper.to_strip` in the FastCGI doc example
2012-10-07 06:06:45 -07:00
Armin Ronacher aecb760c6a Merge pull request #550 from AkaiKitsune/master
Added Windows documentation for mod_wsgi usage
2012-10-07 06:06:23 -07:00
Sven Slootweg b0fdae4e1f Fix regex in lighttpd example config to only match static/ and sub-items, and not all directories that start with 'static' 2012-07-21 21:00:44 +02:00
Akai Kitsune b9df128ba8 Added directions for mod_wsgi vhost configuration under Apache on Windows 2012-07-16 21:08:02 +03:00
Simon Sapin c3f651dccb Remove the unused `ScriptNameStripper.to_strip` in the FastCGI doc example.
Alernatively, `environ['SCRIPT_NAME'] = ''` should be replaced with something like:

    if environ['SCRIPT_NAME'].startswith(self.to_strip):
        environ['SCRIPT_NAME'] = environ['SCRIPT_NAME'][len(self.to_strip):]
2012-07-12 16:31:53 +03:00
Armin Ronacher 7b1c8fd15b Added #522 in modified version 2012-06-17 14:22:15 +01:00
Ramiro Gómez 5bbf8bdcd9 Update master 2012-06-17 02:22:02 +03:00
Ron DuPlain fb01187885 Touch up fastcgi doc. 2012-04-20 09:20:20 -04:00
Vadim Pestovnikov 34380b9c1d Add detailed Apache httpd fastcgi configuration. 2012-04-20 09:07:58 -04:00
Ron DuPlain 9ab41edbd7 Touch up proxying docs. 2012-04-01 11:19:51 -04:00
Ron DuPlain 9a1d616706 Add simple proxying nginx config to docs.
Origin:
https://gist.github.com/2269917
2012-04-01 10:57:44 -04:00
Ron DuPlain 976c9576bd Reorder deployment options. 2012-04-01 10:54:27 -04:00
Ron DuPlain 7e4b705b3c Move others.rst to wsgi-standalone.rst. 2012-04-01 10:54:00 -04:00
Ron DuPlain 3bf1750b5d Tighten quickstart deployment docs. 2012-03-13 12:12:47 -07:00
Armin Ronacher a9726c43ac Updated mod_wsgi docs to reference the sys.path hackery 2011-12-04 18:59:37 -05:00
Armin Ronacher 1bca65d72e Merge pull request #267 from LuitvD/patch-1
Missed the -w option in uWSGI deployment docs.
2011-08-24 15:57:32 -07:00
Ron DuPlain c726e5fee0 Fix lighttpd config, from giskard on #pocoo. 2011-07-30 11:02:36 -04:00
Luit van Drongelen 7d4c784708 Missed the -w option in uWSGI deployment docs. 2011-06-29 01:06:03 -07:00
Ron DuPlain 8e928a2fcb Document Werkzeug's run_simple for dispatch, #225. 2011-06-25 14:11:53 -04:00
Ron DuPlain 207006f4c3 Touch up and integrate docs on deploying Flask. 2011-06-10 12:15:50 -04:00
Merlin 5127b8bd26 Added initial uwsgi deployment documentation for nginx; updated nginx URL in fastcgi deployment docs; added uwsgi to deployment index 2011-06-10 12:15:42 -04:00
streety 1dd83964f0 Change to match headers in https://github.com/mitsuhiko/werkzeug/blob/master/werkzeug/contrib/fixers.py
Signed-off-by: Armin Ronacher <armin.ronacher@active-4.com>
2011-04-18 17:00:05 +02:00
fmw 94f90bc4eb updated docs on FastCGI deployment with Lighty
Signed-off-by: Armin Ronacher <armin.ronacher@active-4.com>
2011-02-05 17:29:48 +01:00
Armin Ronacher 402f12bb6d We do not support 2.4, not even with CGI :) 2011-01-14 00:29:37 +01:00
Ron DuPlain 6875a057ec Fixed small typos in docs. Added a cross-ref. 2010-10-07 19:32:07 +08:00
Armin Ronacher 80268a408b Documented proxy fix 2010-07-20 15:05:10 +01:00
Armin Ronacher 34fcd19306 Added chapter about fabric based deployments 2010-07-06 16:07:13 +02:00
Armin Ronacher f5d2d324b5 Mention virtualenv in mod_wsgi deployment docs 2010-06-30 09:49:04 +02:00
Merlin 7dae84f002 Enhanced the nginx deployment subsection of the documentation with working examples.
'tricky' was changed to 'different' to offer a more neutral tone.
'some' was changed to 'no' and 'not properly' swapped with 'by default' to explain the difference.
Configuration allows for static serving of media alongside a FastCGI application in a clean declarative manner.
Tested on nginx 0.7.x and 0.8.x
2010-06-05 19:34:30 +08:00
Georg Brandl a224fecfd5 More typo fixes. 2010-05-30 02:15:05 +08:00
Armin Ronacher 99c6287ce2 appengine -> app engine 2010-05-27 13:54:40 +02:00
Armin Ronacher 8d356d7cda Fixed a build error and added a touch icon 2010-05-27 12:17:07 +02:00
Armin Ronacher cc8332e9d9 Added troubleshooting infos. This fixes #44 2010-05-24 15:08:35 +02:00
Kenneth Reitz a5421c29ac Added documentation for Gunicorn 2010-05-19 12:59:58 +08:00
Chris Edgemon a7ff9dbddd Proofreading the documentation 2010-04-19 23:25:51 -05:00
Armin Ronacher c64a4e0bef Break up deployment docs into separate documents. 2010-04-19 11:23:44 +02:00