1
0
mirror of https://github.com/avatao-content/test-tutorial-framework synced 2024-11-12 19:47:18 +00:00

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

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