Write temporary files from nginx to /tmp which is writable as unprivileged user

migrate-github-actions
Tim de Pater 2019-11-05 14:24:16 +01:00
parent 95ed923068
commit 373c03da2f
No known key found for this signature in database
GPG Key ID: BFE5D809439C9723
1 changed files with 8 additions and 0 deletions

View File

@ -20,6 +20,14 @@ http {
keepalive_timeout 65;
# Write temporary files to /tmp so they can be created as a non-privileged user
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;
# Default server definition
server {
listen [::]:8080 default_server;
listen 8080 default_server;