Skip to content

Commit 35c6647

Browse files
committed
fixing links in the handler/ssl doc
Signed-off-by: Lewis Birks <22620804+lewisbirks@users.noreply.github.com>
1 parent dff25be commit 35c6647

1 file changed

Lines changed: 7 additions & 6 deletions

File tree

docs/asciidoc/handlers/ssl.adoc

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
=== SSLHandler
22

3-
The javadoc:SSLHandler[] forces client to use HTTPS by redirecting non-HTTPS calls to the HTTPS version.
3+
The javadoc:handler.SSLHandler[] forces client to use HTTPS by redirecting non-HTTPS calls to the HTTPS version.
44

55
.Force SSL
66
[source, java, role = "primary"]
77
----
88
import io.jooby.Jooby;
9-
import io.jooby.SSLHandler;
9+
import io.jooby.handler.SSLHandler;
1010
...
1111
{
1212
@@ -24,7 +24,7 @@ import io.jooby.SSLHandler;
2424
[source, kotlin, role = "secondary"]
2525
----
2626
import io.jooby.Jooby
27-
import io.jooby.SSHandler
27+
import io.jooby.handler.SSHandler
2828
...
2929
{
3030
serverOptions {
@@ -42,15 +42,15 @@ import io.jooby.SSHandler
4242
<1> Install SSLHandler
4343

4444
The SSL Handler recreates the HTTPs URL version using the `Host` header, if you are behind a proxy
45-
you will need to use the `X-Forwarded-Host` header. To do that set the <<router-trust-proxy, trust proxy>> option.
45+
you will need to use the `X-Forwarded-Host` header. To do that set the <<router-options-trust-proxy, trust proxy>> option.
4646

4747
Optionally, you can specify the host to use:
4848

4949
.Force SSL
5050
[source, java, role = "primary"]
5151
----
5252
import io.jooby.Jooby;
53-
import io.jooby.SSLHandler;
53+
import io.jooby.handler.SSLHandler;
5454
...
5555
{
5656
@@ -68,7 +68,7 @@ import io.jooby.SSLHandler;
6868
[source, kotlin, role = "secondary"]
6969
----
7070
import io.jooby.Jooby
71-
import io.jooby.SSHandler
71+
import io.jooby.handler.SSHandler
7272
...
7373
{
7474
serverOptions {
@@ -85,6 +85,7 @@ import io.jooby.SSHandler
8585

8686
For more information about SSL, please check the <<server-https-support, configure SSL>> section.
8787

88+
// code review comment, this referenced doc doesn't exist
8889
[TIP]
8990
====
9091
If you run behind a reverse proxy that has been configured to send the X-Forwarded-* header,

0 commit comments

Comments
 (0)