Articles Comments

{ Berbagi, Menulis, Dan Mengajar } Ilmu… » 7. Operating System » Konfigurasi nginx.conf

Konfigurasi nginx.conf

server {
listen       80;
server_name  mrtg.ikc.co.id;
access_log   /var/log/nginx/mrtg.ikc.co.id_access.log combined;

## Default location
location / {
root   /var/www/mrtg;
#autoindex off;
index  index.html;
autoindex on;
allow all;
}

}

Filed under: 7. Operating System

Leave a Reply

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>