[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
howtos:hardware:arm:nginx [2020/03/05 08:16 (UTC)] – [Notes] typo exaga | howtos:hardware:arm:nginx [2020/03/05 12:01 (UTC)] – [Adding additional sites to nginx] typos exaga | ||
---|---|---|---|
Line 81: | Line 81: | ||
< | < | ||
~# time ./ | ~# time ./ | ||
+ | </ | ||
+ | |||
+ | Alternatively, | ||
+ | |||
+ | < | ||
+ | ~# time GEOIP=yes ./ | ||
</ | </ | ||
After a few short minutes, you should see the resulting package in your '/ | After a few short minutes, you should see the resulting package in your '/ | ||
+ | |||
+ | < | ||
+ | A. We like to know how long the process takes. That's all. You don't have to include it in order to be successful.</ | ||
< | < | ||
Line 264: | Line 273: | ||
</ | </ | ||
- | By default ' | + | By default ' |
< | < | ||
Line 421: | Line 430: | ||
</ | </ | ||
- | Bercause | + | Because |
< | < | ||
Line 433: | Line 442: | ||
</ | </ | ||
- | The above settings will take effect as soon as the file is saved. However, there' | + | The above settings will take effect as soon as the file is saved. However, there' |
So, then we create and edit the ' | So, then we create and edit the ' | ||
Line 441: | Line 450: | ||
</ | </ | ||
- | In this file we need to instruct ' | + | In this file we need to instruct ' |
< | < | ||
Line 450: | Line 459: | ||
# this root path is to the webdir | # this root path is to the webdir | ||
root / | root / | ||
+ | | ||
+ | # index pages to load in this order | ||
+ | index index.php index.html index.htm; | ||
#This will be needed for GoAccess ** make sure vcombined map is defined in nginx.conf | #This will be needed for GoAccess ** make sure vcombined map is defined in nginx.conf | ||
access_log / | access_log / | ||
+ | |||
+ | # pass the PHP scripts to FastCGI server listening on 127.0.0.1: | ||
+ | # | ||
+ | location ~ \.php$ { | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | } | ||
} | } | ||
Line 468: | Line 490: | ||
# this root path is to the webdir | # this root path is to the webdir | ||
root / | root / | ||
+ | |||
+ | # index pages to load in this order | ||
+ | index index.php index.html index.htm; | ||
#This will be needed for GoAccess ** make sure vcombined map is defined in nginx.conf | #This will be needed for GoAccess ** make sure vcombined map is defined in nginx.conf | ||
access_log / | access_log / | ||
+ | |||
+ | # pass the PHP scripts to FastCGI server listening on 127.0.0.1: | ||
+ | # | ||
+ | location ~ \.php$ { | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | } | ||
} | } | ||
Line 494: | Line 529: | ||
</ | </ | ||
- | When all that's complete, the final task is to test the ' | + | When all that's complete, the final task is to test the ' |
< | < |