Nginx:Allow Indexing: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
<syntaxhighlight lang="nginx"> | |||
root /home/name-situs/html/; | location /{ | ||
index index.html; | root /home/name-situs/html/; | ||
autoindex on; | index index.html; | ||
autoindex on; | |||
} | |||
</syntaxhighlight> | |||
[[Category:Tutorial]] | [[Category:Tutorial]] | ||
Revision as of 15:10, 24 August 2022
location /{
root /home/name-situs/html/;
index index.html;
autoindex on;
}