[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 revision | ||
howtos:hardware:arm:nginx [2020/03/05 10:21 (UTC)] – [Adding additional sites to nginx] updated .conf code exaga | howtos:hardware:arm:nginx [2020/03/05 12:03 (UTC)] (current) – [Configuring nginx to run on Slackware ARM] added code 'default_server;' exaga | ||
---|---|---|---|
Line 213: | Line 213: | ||
server { | server { | ||
- | listen | + | listen |
server_name | server_name | ||
Line 430: | Line 430: | ||
</ | </ | ||
- | Bercause | + | Because |
< | < | ||
Line 442: | 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 459: | 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 | ||
Line 487: | 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 | ||
Line 523: | 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 ' |
< | < |