[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 revisionNext revisionBoth sides next revision | ||
howtos:hardware:arm:nginx [2020/03/05 08:15 (UTC)] – [Notes] updated testing period notes exaga | howtos:hardware:arm:nginx [2020/03/05 10:21 (UTC)] – [Adding additional sites to nginx] updated .conf code exaga | ||
---|---|---|---|
Line 12: | Line 12: | ||
This page will hopefully allow you how run nginx on Slackware ARM successfully, | This page will hopefully allow you how run nginx on Slackware ARM successfully, | ||
- | Slackware ARM -current was running [kernel 5.4.21] on a Raspberry Pi 4 and used to build the package, install and configure nginx. Any ARM device running Slackware may be used for this purpose. The -current (development) version was chosen as it includes the latest software, etc. | + | Slackware ARM -current was running [kernel 5.4.22] on a Raspberry Pi 4 and used to build the package, install and configure nginx. Any ARM device running Slackware may be used for this purpose. The -current (development) version was chosen as it includes the latest software, etc. |
==== Requirements ==== | ==== Requirements ==== | ||
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 441: | Line 450: | ||
</ | </ | ||
- | In this file we need to instruct ' | + | In this file we need to instruct ' |
< | < | ||
Line 453: | Line 462: | ||
#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 471: | Line 490: | ||
#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$ { | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | } | ||
} | } |