mario8705 / webserv

3 stars 0 forks source link

Config file: Invalid keyword can be used #26

Closed sansho88 closed 1 year ago

sansho88 commented 1 year ago

Example:


gvefvdfv {

    listen 8088;
    server_name _;

    location / {
        root ./htdocs;
        autoindex on;
        index index.php index.html index.htm;
    }

    location ~ \.php$ {

        cgi_pass /usr/local/bin/php-cgi;
        root ./htdocs;
    }
}
sansho88 commented 1 year ago

Fixed since: https://github.com/mario8705/webserv/pull/27