https://localhost:300

· WEB
프로젝트 오픈을 앞두고 인증서를 최신화 시킨 후 테스트를 해야하는 상황이 있었다. 이때에 로컬에서 먼저 테스트를 해보려고 했더니 http에서는 확인이 어려웠다(본인이 못한걸 수도 있다). 이참에 로컬에서 테스트를 할때에 https로 서버를 띄우는 방법을 알아보자 nuxt.config.js에 아래와 같이 설정을 해준다. __dirname에는 발급받은 인증서 경로를 뒤에는 인증서 이름을 입력하면 된다. 공식문서 : https://nuxtjs.org/docs/configuration-glossary/configuration-server/#example-using-https-configuration The server Property Nuxt let you define the server connection v..
TeaHuiLee
'https://localhost:300' 태그의 글 목록