server { listen 127.0.0.1; server_name localhost; access_log /var/log/tengine/localhost.access_log main; error_log /var/log/tengine/localhost.error_log info; root /usr/share/tengine/html; index index.cgi index.htm index.html index.php; } # SSL example #server { # listen 127.0.0.1:443; # server_name localhost; # ssl on; # ssl_certificate /etc/ssl/tengine/tengine.pem; # ssl_certificate_key /etc/ssl/tengine/tengine.key; # access_log /var/log/tengine/localhost.ssl_access_log main; # error_log /var/log/tengine/localhost.ssl_error_log info; # root /usr/share/tengine/html; # index index.cgi index.htm index.html index.php; #}