From 7567bcb891f49489090eff24301758a656a2334f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krist=C3=B3f=20T=C3=B3th?= Date: Wed, 27 Jun 2018 10:36:44 +0200 Subject: [PATCH] Elaborate creating proxy-aware web applications in readme --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index ad8acad..b550c7e 100644 --- a/README.md +++ b/README.md @@ -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