mirror of
https://github.com/3lswear/webserv.git
synced 2025-10-28 04:48:00 +03:00
config start
This commit is contained in:
9
config/example.toml
Normal file
9
config/example.toml
Normal 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
9
src/config/parse.cpp
Normal file
@@ -0,0 +1,9 @@
|
||||
#include "webserv.hpp"
|
||||
#include <iostream>
|
||||
|
||||
namespace config
|
||||
{
|
||||
void parse(
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user