fix(nginx): revert nginx image to support arm/v7 (#692)
This commit is contained in:
parent
0ee3fe9157
commit
97aed8ef23
2 changed files with 9 additions and 3 deletions
|
@ -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;"
|
|
@ -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;
|
||||
# }
|
||||
|
|
Loading…
Reference in a new issue