webserv/tests/test_config.conf

21 lines
454 B
Plaintext

# Test configuration file for webserv unit tests
# This file can be used by tests that need a valid configuration
server {
listen 8080
host localhost
server_name test.example.com
root /tmp/test_root
index index.html index.htm
location / {
allowed_methods GET POST
autoindex off
}
location /upload {
allowed_methods POST
upload_enabled on
upload_store /tmp/uploads
}
}