added proxy pass to nginx configuration file
prevent request hostname being localhost:8000 | passthrough server hostname from nginx
This commit is contained in:
parent
ea830f53b0
commit
8796eeeb62
@ -268,6 +268,7 @@ This is an example ``nginx.conf`` configuration for Daphne listing on port
|
||||
proxy_pass http://localhost:8000;
|
||||
}
|
||||
location /rest {
|
||||
proxy_set_header Host $http_host;
|
||||
proxy_pass http://localhost:8000;
|
||||
}
|
||||
location /ws {
|
||||
|
Loading…
Reference in New Issue
Block a user