Home  >  Q&A  >  body text

spring-mvc - Spring security cannot log in after encountering nginx?

I wrote a small website, using Spring mvc Spring security, and then deployed it to the server. In order to facilitate management, I used nginx. At this time, the problem came. The website that originally ran well could not be used after using nginx. After logging in, the error reported was a 403 common in spring security. Please tell me, how to solve this problem? (Guess: Is it related to the CSRF of spring security?

伊谢尔伦伊谢尔伦2713 days ago541

reply all(1)I'll reply

  • 世界只因有你

    世界只因有你2017-05-16 17:21:48

    Hello, you and I have encountered the same problem. Is it because spring security is redirecting~? Have you solved it~?

    reply
    0
  • Cancelreply