Skip to content

Commit

Permalink
Update docs/develop/howtos/restrict_access.md
Browse files Browse the repository at this point in the history
Co-authored-by: Guillaume Viger <fenekku@fenekku.com>
  • Loading branch information
max-moser and fenekku authored Jul 2, 2024
1 parent f904009 commit 6b47c6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/develop/howtos/restrict_access.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,6 @@ location / {
```

!!! info "The `uwsgi_pass` directive doesn't get inherited"
Note that the `uwsgi_pass` directive is part of a [class of directives that do not get inherited in nested locations](https://forum.nginx.org/read.php?2,243488,243488) and thus has to specified explicitly again.
Note that the `uwsgi_pass` directive is part of a [class of directives that do not get inherited in nested locations](https://forum.nginx.org/read.php?2,243488,243488) and thus has to be specified explicitly again.

Restricting access to API endpoints follows a similar schema, but in the `location /api` block and with `uwsgi_pass api_server` instead.

0 comments on commit 6b47c6f

Please sign in to comment.