mirror of
https://github.com/nsnail/Ocelot.git
synced 2025-04-22 06:22:50 +08:00
Changed wording for ease of reading (#776)
Just some wording changes for clarification.
This commit is contained in:
parent
292c30fd8f
commit
a9cfc04aa9
@ -32,8 +32,8 @@ The following is a very basic ocelot.json. It won't do anything but should get O
|
|||||||
The most important thing to note here is BaseUrl. Ocelot needs to know the URL it is running under
|
The most important thing to note here is BaseUrl. Ocelot needs to know the URL it is running under
|
||||||
in order to do Header find & replace and for certain administration configurations. When setting this URL it should be the external URL that clients will see Ocelot running on e.g. If you are running containers Ocelot might run on the url http://123.12.1.1:6543 but has something like nginx in front of it responding on https://api.mybusiness.com. In this case the Ocelot base url should be https://api.mybusiness.com.
|
in order to do Header find & replace and for certain administration configurations. When setting this URL it should be the external URL that clients will see Ocelot running on e.g. If you are running containers Ocelot might run on the url http://123.12.1.1:6543 but has something like nginx in front of it responding on https://api.mybusiness.com. In this case the Ocelot base url should be https://api.mybusiness.com.
|
||||||
|
|
||||||
If for some reason you are using containers and do want Ocelot to respond to client on http://123.12.1.1:6543
|
If you are using containers and require Ocelot to respond to clients on http://123.12.1.1:6543
|
||||||
then you can do this but if you are deploying multiple Ocelot's you will probably want to pass this on the command line in some kind of script. Hopefully whatever scheduler you are using can pass the IP.
|
then you can do this, however if you are deploying multiple Ocelot's you will probably want to pass this on the command line in some kind of script. Hopefully whatever scheduler you are using can pass the IP.
|
||||||
|
|
||||||
**Program**
|
**Program**
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user