Nginx에서 아래와 같은 구문을 사용해 http로 접속시 자동으로 https 로 전환되게 해두었습니다.
server {
listen 80;
server_name example.com;
return 301 https://$host$request_uri;
}
그런데 꼭 http로만 사용할 게 생겨서
http://example.com/example.txt 파일만 http로 접속이 가능하게 하고 싶은데요…
이렇게 가능하게 설정할 수 있는 방법이 있을까요? ㅠㅠ
도와주세요 ㅠㅠ