Form 안에 csrf를 추가 해주셔야 합니다.
<form action="/' method="post"> {{ csrf_field() }} <input type="text" name="id"> <button type="submit">전송</button> </form>
추가 하였고 최초 한번은 무조건 토큰오류뜨고 작동합니다
@csrf 로 쓰고 있습니다 폼마다 다 들어가있구요
해결하였습니다.
NGINX 단에 쿠키 암호화한게 문제였네요.
그래서 addHttpCookie 옵션 키면 문제가 발생했던거구요
more_set_headers 'Set-Cookie: $sent_http_set_cookie';