Nginx:Allow Indexing: Difference between revisions

Created page with " location /{ root /home/yozloy/html/; index index.html; autoindex on; }"
 
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
location /{  
<syntaxhighlight lang="nginx" line="1">
     root /home/yozloy/html/;  
location /{
     index index.html;  
     root /home/name-situs/html/;
     autoindex on;
     index index.html;
  }
     autoindex on;  
}
</syntaxhighlight>
   
 
[[Category:Tutorial]]