jojoldu / freelec-springboot2-webservice

1.07k stars 464 forks source link

[오류] p.386 #876

Open Youthhing opened 1 year ago

Youthhing commented 1 year ago

기존에 올라온 질문이 아닌지 먼저 검색해주세요!

가장 자주 나온 제보

어떤 오류인가요?

오류설명:

프로젝트 주소

Github에 오류가 난 프로젝트를 올려주세요.
Github 주소를 작성해주지 않으시면 답변해드릴수가 없어요!

오류 로그

어떤 오류인지 캡쳐해주세요.

real1,2 프로필 생성 이전엔 정상으로 브라우저 ec2 - .... - amazonaws.com 으로 접속해도 서비스가 진행되었는데 386p 진행 중 real1, real2 properties를 책처럼 작성하고 엔진엑스 설정을 수정후 도메인에 접속하니 nginx error가 발생합니다.

386p에 언급하신 브라우저에서 정상적인 호출이 정상적으로 서비스가 실행된다는 이야기 맞을까요?

Travis CI에서 Build도 정상적으로 진행이 되는데 어디서 문제인지 `모르겠습니다.

` include /etc/nginx/conf.d/*.conf;

server {
    listen       80;
    listen       [::]:80;
    server_name  _;
    root         /usr/share/nginx/html;

    # Load configuration files for the default server block.
    include /etc/nginx/conf.d/service-url.inc;

    location /{
            proxy_pass $service_url;
            proxy_set_header X-Real-IP $remote_addr;
            proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
            proxy_set_header Host $http_host;
    }

`

Noname-dev01 commented 1 year ago

sudo vim /var/log/nginx/error.log 로 nginx 에러 로그 확인 해볼수 있습니다.