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

[ConfigParser] location 블록 파싱 #31

Open
Two-Jay opened this issue Apr 20, 2022 · 1 comment
Open

[ConfigParser] location 블록 파싱 #31

Two-Jay opened this issue Apr 20, 2022 · 1 comment

Comments

@Two-Jay
Copy link
Contributor

Two-Jay commented Apr 20, 2022

  • 로케이션 블록 파싱 시에 url 파싱 하도록 수정
  • 로케이션이 자신을 포함하고 있는 상위 서버블록의 파싱값으로 들어가도록 수정 : 서버 구조체 내에 map_pair < "location" : ["/url"] > 꼴로 임의값 삽입.
  • 스펙 상 서버의 메인디렉티브는 반드시 로케이션이나 업스트립 블록보다 상위값에 위치하도록 강제.
@Two-Jay
Copy link
Contributor Author

Two-Jay commented Apr 20, 2022

혹시 location 블록 파싱 시 지정된 url이 접두어에 따라 정규식 검증을 하는 부분이 있는데, 정규식 파서를 구현해야하나 고민이 되네요. 어떻게 구현하실 지 의견 알려주시면 작업하도록 하겠습니다.

@kyoshong @Jiwon-Woo @sma96

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

No branches or pull requests

1 participant