diff --git a/backend/src/main/resources/application.properties b/backend/src/main/resources/application.properties index 353d5bd..3382b7b 100644 --- a/backend/src/main/resources/application.properties +++ b/backend/src/main/resources/application.properties @@ -20,3 +20,6 @@ spring.mail.properties.mail.smtp.ssl.enable=true spring.mail.properties.mail.smtp.socketFactory.class=javax.net.ssl.SSLSocketFactory chat.allowed-ip=${ALLOWED_IP:10.0.0.0/24} management.endpoints.web.exposure.include=mappings +server.forward-headers-strategy=native +server.tomcat.remoteip.remote-ip-header=CF-Connecting-IP +server.tomcat.remoteip.trusted-proxies=10\\.0\\.0\\.103