- http basic authentification
https://ponytech.net/blog/use-http-basic-authentification-login
- api 설계지 보안관련 부분참조 할 내용
https://www.slideshare.net/brotherjinho/restful-api-64494716
절대세션 사용하지 말것, request 마다 다 인증거치게 해야함
https 만 사용해야함
- nginx(ssl) + django
https://simpleisbetterthancomplex.com/tutorial/2016/05/11/how-to-setup-ssl-certificate-on-nginx-for-django-application.html
proxy_redirect 지시자는 http response 헤더중에 Location 과 Refresh 헤더를 조작한다.
서버가 Location 헤더에 url 를 지정해서 response 를 해주면 브라우저는 자동으로 Location 에 지정된 url 로 이동하고 response 를 받아온다.
참조: http://storyj.net/http-%EA%B8%B0%EC%B4%88-%EB%8C%80%ED%91%9C%EC%A0%81%EC%9D%B8-http%ED%95%B4%EB%8D%94/
reverse proxy
clinet request 를 받아서 실제 서비스 하는 서버로 전달하는 일을 한다.
참고: https://www.joinc.co.kr/w/man/12/proxy
'TF' 카테고리의 다른 글
[Research] fibonacci number (0) | 2017.06.30 |
---|---|
[Research] API gateway (0) | 2017.06.29 |
[Research] microservice (0) | 2017.06.29 |
[Research] django high availability (0) | 2017.06.28 |
[Research] openstack (0) | 2017.06.27 |