Skip to content

Commit

Permalink
Merge pull request #20 from linuxserver/not-start-fpm
Browse files Browse the repository at this point in the history
  • Loading branch information
Roxedus committed Aug 25, 2023
2 parents 1829073 + 98c0a6e commit 41b6c03
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ RUN \
npm i && \
echo "**** cleanup ****" && \
rm -rf \
/etc/logrotate.d/php-fpm \
/etc/s6-overlay/s6-rc.d/svc-php-fpm \
/etc/s6-overlay/s6-rc.d/user/contents.d/svc-php-fpm \
/tmp/* \
$HOME/.cache

Expand Down
3 changes: 3 additions & 0 deletions Dockerfile.aarch64
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ RUN \
npm i && \
echo "**** cleanup ****" && \
rm -rf \
/etc/logrotate.d/php-fpm \
/etc/s6-overlay/s6-rc.d/svc-php-fpm \
/etc/s6-overlay/s6-rc.d/user/contents.d/svc-php-fpm \
/tmp/* \
$HOME/.cache

Expand Down
9 changes: 1 addition & 8 deletions root/defaults/nginx/site-confs/default.conf.sample
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Version 2023/04/13 - Changelog: https://github.com/linuxserver/docker-snapdrop/commits/master/root/defaults/nginx/site-confs/default.conf.sample
## Version 2023/08/25 - Changelog: https://github.com/linuxserver/docker-snapdrop/commits/master/root/defaults/nginx/site-confs/default.conf.sample

server {
listen 80 default_server;
Expand Down Expand Up @@ -30,13 +30,6 @@ server {
proxy_set_header X-Forwarded-for $remote_addr;
}

location ~ ^(.+\.php)(.*)$ {
fastcgi_split_path_info ^(.+\.php)(.*)$;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
include /etc/nginx/fastcgi_params;
}

# deny access to .htaccess/.htpasswd files
location ~ /\.ht {
deny all;
Expand Down

0 comments on commit 41b6c03

Please sign in to comment.