mirror of
https://github.com/avatao-content/test-tutorial-framework
synced 2024-12-05 02:31:33 +00:00
Elaborate creating proxy-aware web applications in readme
This commit is contained in:
parent
51cd837e3a
commit
7567bcb891
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user