fix(nginx): revert nginx image to support arm/v7 (#692)

This commit is contained in:
Jonas Janz 2022-09-14 20:36:29 +02:00 committed by GitHub
parent 0ee3fe9157
commit 97aed8ef23
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 3 deletions

View file

@ -1,5 +1,5 @@
FROM registry.access.redhat.com/ubi9/nginx-120:latest
FROM docker.io/nginxinc/nginx-unprivileged:latest
COPY nginx.conf "${NGINX_CONF_PATH}"
COPY nginx.conf "/etc/nginx/nginx.conf"
CMD nginx -g "daemon off;"

View file

@ -2,7 +2,7 @@
worker_processes auto;
error_log /var/log/nginx/error.log;
pid /run/nginx.pid;
pid /tmp/nginx.pid;
# Load dynamic modules. See /usr/share/doc/nginx/README.dynamic.
include /usr/share/nginx/modules/*.conf;
@ -17,6 +17,12 @@ http {
'' close;
}
client_body_temp_path /tmp/client_temp;
proxy_temp_path /tmp/proxy_temp_path;
fastcgi_temp_path /tmp/fastcgi_temp;
uwsgi_temp_path /tmp/uwsgi_temp;
scgi_temp_path /tmp/scgi_temp;
# events {
# worker_connections 1000;
# }