Redirect to https://localhost:9443 when using RedirectHttpsFilter (Play 2.6.0)

75 views
Skip to first unread message

Роман Паршиков

unread,
Jun 23, 2017, 2:59:26 PM6/23/17
to Play Framework
Please help.
Here is minimal Play Java project
https://github.com/PromanSEW/play-java-starter-example_2.6.x

I enabled RedirectHttpsFilter and configure HTTPS port after reading this guide:
https://www.playframework.com/documentation/2.6.x/RedirectHttpsFilter
Then I ran project in dev mode, opened localhost:900 and see failed 308 Permanent Redirect to https://localhost:9443

What I have to do to fix this problem? How to configure Play for using RedirectHttpsFilter in dev mode?

Will Sargent

unread,
Jun 23, 2017, 3:25:47 PM6/23/17
to Play Framework
The purpose of the RedirectHttpsFilter is to redirect you to the HTTPS site.  That's what it does.
Reply all
Reply to author
Forward
0 new messages