Добавлена поддержка https для деплоя
This commit is contained in:
parent
a7323bb343
commit
99d6c53b90
@ -12,8 +12,7 @@ public class NoPopupBasicAuthenticationEntryPoint implements AuthenticationEntry
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void commence(HttpServletRequest request, HttpServletResponse response,
|
public void commence(HttpServletRequest request, HttpServletResponse response,
|
||||||
AuthenticationException authException) throws IOException, ServletException {
|
AuthenticationException authException) throws IOException {
|
||||||
|
|
||||||
response.sendError(HttpServletResponse.SC_FORBIDDEN, authException.getMessage());
|
response.sendError(HttpServletResponse.SC_FORBIDDEN, authException.getMessage());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -8,4 +8,6 @@ spring.datasource.url=jdbc:postgresql://localhost:5432/postgres
|
|||||||
spring.datasource.username=postgres
|
spring.datasource.username=postgres
|
||||||
spring.datasource.password=MobileDev
|
spring.datasource.password=MobileDev
|
||||||
spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.PostgreSQLDialect
|
spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.PostgreSQLDialect
|
||||||
spring.jpa.hibernate.ddl-auto=update
|
spring.jpa.hibernate.ddl-auto=update
|
||||||
|
# set up https
|
||||||
|
server.forward-headers-strategy=framework
|
Loading…
x
Reference in New Issue
Block a user