forked from orbit-oss/flask
docs: `DEBUG, SERVER_NAME, PATH_INFO`
This commit is contained in:
parent
02694d609f
commit
ad011bc32d
11 changed files with 28 additions and 28 deletions
|
|
@ -182,7 +182,7 @@ A basic Flask FastCGI configuration for nginx looks like this::
|
|||
|
||||
This configuration binds the application to `/yourapplication`. If you
|
||||
want to have it in the URL root it's a bit simpler because you don't
|
||||
have to figure out how to calculate `PATH_INFO` and `SCRIPT_NAME`::
|
||||
have to figure out how to calculate ``PATH_INFO`` and ``SCRIPT_NAME``::
|
||||
|
||||
location / { try_files $uri @yourapplication; }
|
||||
location @yourapplication {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue