Review parsing Eric and Luke.

Combined the config parser with Webserv class.
This commit is contained in:
LuckyLaszlo
2022-07-31 00:27:48 +02:00
parent 2d91b704c3
commit e5c2869172
10 changed files with 76 additions and 391 deletions

View File

@@ -4,15 +4,26 @@ server {
server_name our_server;
listen 0.0.0.0:80;
listen 0.0.0.0:4040;
index index.html; # this is another comment
root ./www/;
allow_methods GET;
}
server {
# this is a comment
server_name our_server;
listen 0.0.0.0:4047;
index index.html; # this is another comment
root ./www/;
allow_methods GET;
}