Commit graph

69 commits

Author SHA1 Message Date
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