mirror of
https://github.com/KeyZox71/webserv.git
synced 2025-05-11 00:08:46 +02:00
「✨」 feat: proposing new config to match subject
This commit is contained in:
@ -1,3 +1,5 @@
|
||||
log_file = "test.log"
|
||||
|
||||
[server]
|
||||
server_names = { "localhost", "2B5.local" }
|
||||
host = "localhost"
|
||||
@ -22,3 +24,17 @@ cgi.go = "/bin/go"
|
||||
|
||||
[server.location./redir]
|
||||
redirect = "https://kanel.ovh"
|
||||
|
||||
[server1]
|
||||
server_names = { "ptnnnn.local"}
|
||||
host = "0.0.0.0"
|
||||
port = 90
|
||||
|
||||
[server1.error_pages]
|
||||
404 = "existepasfd***.html"
|
||||
|
||||
[server1.location./]
|
||||
methods = { "GET", "DELETE" }
|
||||
root = "/var/lib/docker/volumes/test_data/_data"
|
||||
dirlist = false
|
||||
cgi.py = "/bin/python"
|
||||
|
Submodule lib/tomlpp updated: d9e507093a...9926aa1530
Reference in New Issue
Block a user