node-http-server – Diff between revs 15 and 17
?pathlinks?
Rev 15 | Rev 17 | |||
---|---|---|---|---|
Line 11... | Line 11... | |||
11 | // The relative path to where to place the server log file. |
11 | // The relative path to where to place the server log file. |
|
12 | file: 'logs/server.log', |
12 | file: 'logs/server.log', |
|
13 | }, |
13 | }, |
|
14 | // Authentication settings. |
14 | // Authentication settings. |
|
15 | auth: { |
15 | auth: { |
|
16 | // The locations that require authentication. |
16 | // The web locations that require authentication. |
|
17 | locations: [ |
17 | locations: [ |
|
18 | '/admin/' |
18 | '/admin/' |
|
19 | ], |
19 | ], |
|
20 | // The authentication realm. |
20 | // The authentication realm. |
|
21 | realm: 'Wizardry and Steamworks', |
21 | realm: 'Wizardry and Steamworks', |
|
Line 23... | Line 23... | |||
23 | digest: 'auth/htpasswd', |
23 | digest: 'auth/htpasswd', |
|
24 | }, |
24 | }, |
|
25 | site: { |
25 | site: { |
|
26 | // The document index that will be served when a directory is requested. |
26 | // The document index that will be served when a directory is requested. |
|
27 | index: 'index.html', |
27 | index: 'index.html', |
|
- | 28 | // The web locations for which sending a directory index is allowed. |
||
- | 29 | indexing: [ |
||
- | 30 | '/public/' |
||
- | 31 | ], |
||
28 | // The name of the website. |
32 | // The name of the website. |
|
29 | name: 'Wizardry and Steamworks', |
33 | name: 'Wizardry and Steamworks', |
|
30 | }, |
34 | }, |
|
31 | ssl: { |
35 | ssl: { |
|
32 | // Whether to enable HTTPs through SSL. |
36 | // Whether to enable HTTPs through SSL. |