Compare commits
2 Commits
7bd5255c63
...
061b6986a3
| Author | SHA1 | Date | |
|---|---|---|---|
| 061b6986a3 | |||
| ff49052baa |
+1
-1
@@ -2,6 +2,6 @@ FROM docker.io/arm32v7/nginx:1.30.3-alpine3.23
|
|||||||
RUN apk --update add php85-fpm
|
RUN apk --update add php85-fpm
|
||||||
COPY http/php /usr/share/nginx/php
|
COPY http/php /usr/share/nginx/php
|
||||||
COPY http/out /usr/share/nginx/html
|
COPY http/out /usr/share/nginx/html
|
||||||
COPY http/php-fpm.conf /etc/php/8.5/fpm/pool.d/joeac.net-http_pool.conf
|
COPY http/php-fpm.conf /etc/php85/php-fpm.d/joeac.net-http_pool.conf
|
||||||
COPY http/nginx.conf /etc/nginx/nginx.conf
|
COPY http/nginx.conf /etc/nginx/nginx.conf
|
||||||
CMD php-fpm85 && nginx -g "daemon off;"
|
CMD php-fpm85 && nginx -g "daemon off;"
|
||||||
|
|||||||
+1
-1
@@ -34,7 +34,7 @@ http {
|
|||||||
|
|
||||||
location ~ \.php$ {
|
location ~ \.php$ {
|
||||||
root html;
|
root html;
|
||||||
fastcgi_pass 127.0.0.1:9000;
|
fastcgi_pass unix:/run/php8.5-fpm-joeac.net-http.sock
|
||||||
fastcgi_index index.php;
|
fastcgi_index index.php;
|
||||||
fastcgi_param SCRIPT_FILENAME /scripts$fastcgi_script_name;
|
fastcgi_param SCRIPT_FILENAME /scripts$fastcgi_script_name;
|
||||||
include fastcgi_params;
|
include fastcgi_params;
|
||||||
|
|||||||
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
[joeac.net]
|
[joeac.net]
|
||||||
user = nginx
|
user = nginx
|
||||||
group = nginx
|
group = nginx
|
||||||
listen = /run/php/php8.1-fpm-joeac.net-http.sock
|
listen = /run/php8.5-fpm-joeac.net-http.sock
|
||||||
listen.owner = nginx
|
listen.owner = nginx
|
||||||
listen.group = nginx
|
listen.group = nginx
|
||||||
listen.mode = 0660
|
listen.mode = 0660
|
||||||
|
|||||||
Reference in New Issue
Block a user