
어떻게든 내 서버가 자체적으로 파일을 다운로드하도록 허용해야 합니다. wget
from example.com
파일을 사용해야 하는데 example.com/script.json
이 작업을 시도하면 404 오류가 발생합니다.
Resolving https://example.com (example.com )... 1.2.3.4
Connecting to example.com (example.com)|1.2.3.4|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2019-12-04 11:10:50 ERROR 404: Not Found.
파일이 디렉터리에 있음/home/site.com/apps/frontend/public
어떻게든 이 도메인에 대해 localhost를 설정합니까? 나도 그렇게 생각하지만 어떻게 해야 할지 모르겠다.
답변1
해결 ServerAlias localhost
, 구성에 추가한 후 wget을 사용할 수 있었고 https://localhost/file.json
제대로 작동했습니다.