Elaborate creating proxy-aware web applications in readme

This commit is contained in:
Kristóf Tóth 2018-06-27 10:36:44 +02:00
parent 51cd837e3a
commit 7567bcb891
1 changed files with 3 additions and 0 deletions

View File

@ -138,6 +138,9 @@ location /yoururl {
```
After this you can access the service running on port `3333` at `http://localhost:8888/yoururl`
It is very important to understand that from now on your application must behave well behind a reverse proxy.
What this means is all `href`s must point the proxied paths (e.g. links should refer to `/yoururl/register` instead of `/register`) on your HTML pages.
You can learn about configuring nginx in [this](https://www.digitalocean.com/community/tutorials/understanding-the-nginx-configuration-file-structure-and-configuration-contexts) handy little tutorial.
### supervisor