Files
42_INT_12_webserv/default.config
2022-08-03 18:56:34 +02:00

26 lines
369 B
Plaintext

server {
# this is a comment
server_name our_server;
listen 0.0.0.0:4040;
# client_body_limit asdfa;
# client_body_limit 400;
index index.html; # this is another comment
root /website;
allow_methods GET;
# ok in theory if one were to go to /test they would get the index in www
# as opposed to the one in /website...
location /test {
root /www;
}
}