Nginx:Allow Indexing: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
<syntaxhighlight lang="nginx"> | <syntaxhighlight lang="nginx" line="1"> | ||
location /{ | location /{ | ||
root /home/name-situs/html/; | root /home/name-situs/html/; | ||
Latest revision as of 12:02, 22 September 2022
location /{
root /home/name-situs/html/;
index index.html;
autoindex on;
}