well i think i have the Config Parser working and pretty clean, there might be a few tweaks here and there but looks good, now to integrate it with Webserv
This commit is contained in:
@@ -1,11 +1,13 @@
|
||||
server {
|
||||
|
||||
# this is a comment
|
||||
|
||||
server_name our_server;
|
||||
|
||||
listen 0.0.0.0:80;
|
||||
|
||||
|
||||
index index.html;
|
||||
index index.html; # this is another comment
|
||||
root ./www/;
|
||||
|
||||
allow_methods GET;
|
||||
|
||||
Reference in New Issue
Block a user