package example;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
public class Application {
    public static void main(String[] args) {
        SpringApplication.run(Application.class, args);
    }
}

@@ -135,58 +135,380 @@
 on;%0A
-%0A@SpringBootApplication%0Apublic class Application %7B
+import org.springframework.context.annotation.Bean;%0Aimport org.springframework.web.filter.ForwardedHeaderFilter;%0A%0A@SpringBootApplication%0Apublic class Application %7B%0A%0A    /**%0A     * for reverse proxy%0A     */%0A    @Bean%0A    public ForwardedHeaderFilter forwardedHeaderFilter() %7B%0A        ForwardedHeaderFilter filter = new ForwardedHeaderFilter();%0A        return filter;%0A    %7D%0A
 %0A   

add forwardedHeaderFilter