Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[오류] p.386 #876

Open
Youthhing opened this issue Mar 10, 2023 · 1 comment
Open

[오류] p.386 #876

Youthhing opened this issue Mar 10, 2023 · 1 comment

Comments

@Youthhing
Copy link

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

가장 자주 나온 제보

어떤 오류인가요?

오류설명:

프로젝트 주소

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants