nginx
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| nginx [2026/01/08 00:03] – lex | nginx [2026/01/08 00:39] (current) – lex | ||
|---|---|---|---|
| Line 22: | Line 22: | ||
| < | < | ||
| location / { | location / { | ||
| - | root /data/www; | ||
| } | } | ||
| </ | </ | ||
| - | / refers to the URI, so in this case the root URI\\ | + | Matches with '' |
| - | So the above returns files in ''/ | + | |
| < | < | ||
| location /images/ { | location /images/ { | ||
| - | root /data; | ||
| } | } | ||
| </ | </ | ||
| - | Returns files in /data/images/ | + | Matches with '' |
| < | < | ||
nginx.txt · Last modified: by lex
