config start

This commit is contained in:
3lswear
2021-12-31 19:09:34 +03:00
parent 61ed01b849
commit df2abe6604
2 changed files with 18 additions and 0 deletions

9
config/example.toml Normal file
View File

@@ -0,0 +1,9 @@
[[server]]
name = "jopaserver"
port = 8080
host = "127.0.0.1"
error_page = "error.html"
body_size_limit = 10
[[location]]
location = "/"
root = "/var/www/html/jopa.html"

9
src/config/parse.cpp Normal file
View File

@@ -0,0 +1,9 @@
#include "webserv.hpp"
#include <iostream>
namespace config
{
void parse(
}