[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 08:31 (UTC)] – [Building the nginx package] correction 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 273: | Line 273: | ||
</ | </ | ||
- | By default ' | + | By default ' |
< | < | ||
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 450: | Line 450: | ||
</ | </ | ||
- | In this file we need to instruct ' | + | In this file we need to instruct ' |
< | < | ||
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 | ||
access_log / | access_log / | ||
+ | |||
+ | # pass the PHP scripts to FastCGI server listening on 127.0.0.1: | ||
+ | # | ||
+ | location ~ \.php$ { | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | } | ||
} | } | ||
Line 477: | 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 503: | 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 ' |
< | < |