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: | ||
<syntaxhighlight lang="nginx" line="1"> | |||
root /home/ | location /{ | ||
index index.html; | root /home/name-situs/html/; | ||
autoindex on; | index index.html; | ||
autoindex on; | |||
} | |||
</syntaxhighlight> | |||
[[Category:Tutorial]] | |||