」 feat(Requests): now use the config :D

This commit is contained in:
y-syo
2025-05-02 15:04:41 +02:00
parent 2352a865bf
commit bfef8ed76e
7 changed files with 105 additions and 64 deletions

View File

@ -12,13 +12,14 @@ port = 8080
[server.location./]
methods = { "GET" }
root = "/var/www/html"
root = "/sgoinfre/goinfre/Perso/mmoussou"
dirlist = true
client_max_body_size = "10M"
index = "banger.html"
[server.location./api]
methods = { "GET", "POST" }
root = "/var/www/api"
root = "/nfs/homes/mmoussou"
upload_path = "/etc/webserv/up"
cgi.go = "/bin/go"