Skip to content

Commit 20b3321

Browse files
authored
#276 update docs (#277)
1 parent 2e914b1 commit 20b3321

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

docs/pages/corefunctionality/configuration.rst

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,12 @@ what you can do is to specify a different Hoverfly working directory:
6060
6161
localConfigs().binaryLocation("/absolute/path/to/hoverfly/directory")
6262
63+
If you can't find the method to set a config, you may pass any `Hoverfly start-up flag <https://docs.hoverfly.io/en/latest/pages/reference/hoverfly/hoverflycommands.html>`_ directly through this
64+
generic config method, for example:
65+
66+
.. code-block:: java
67+
68+
localConfigs().addCommands("-listen-on-host", "0.0.0.0")
6369
6470
Logging
6571
-------
@@ -112,7 +118,7 @@ to set the log level explicitly:
112118
Middleware
113119
----------
114120

115-
You can configure Hoverfly to use a local middleware (for more details, please check out `Hoverfly Middleware <http://hoverfly.readthedocs.io/en/latest/pages/keyconcepts/middleware.html>`_):
121+
You can configure Hoverfly to use a local middleware (for more details, please check out `Hoverfly Middleware <https://docs.hoverfly.io/en/latest/pages/keyconcepts/middleware.html>`_):
116122

117123
.. code-block:: java
118124

0 commit comments

Comments
 (0)