{"action":"closed","issue":{"url":"https://api.github.com/repos/Venator-Fox/docker-moodle/issues/24","repository_url":"https://api.github.com/repos/Venator-Fox/docker-moodle","labels_url":"https://api.github.com/repos/Venator-Fox/docker-moodle/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/Venator-Fox/docker-moodle/issues/24/comments","events_url":"https://api.github.com/repos/Venator-Fox/docker-moodle/issues/24/events","html_url":"https://github.com/Venator-Fox/docker-moodle/issues/24","id":305001144,"number":24,"title":"Upload restricted by post_max_size","user":{"login":"Venator-Fox","id":850997,"avatar_url":"https://avatars3.githubusercontent.com/u/850997?v=4","gravatar_id":"","url":"https://api.github.com/users/Venator-Fox","html_url":"https://github.com/Venator-Fox","followers_url":"https://api.github.com/users/Venator-Fox/followers","following_url":"https://api.github.com/users/Venator-Fox/following{/other_user}","gists_url":"https://api.github.com/users/Venator-Fox/gists{/gist_id}","starred_url":"https://api.github.com/users/Venator-Fox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Venator-Fox/subscriptions","organizations_url":"https://api.github.com/users/Venator-Fox/orgs","repos_url":"https://api.github.com/users/Venator-Fox/repos","events_url":"https://api.github.com/users/Venator-Fox/events{/privacy}","received_events_url":"https://api.github.com/users/Venator-Fox/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-14T02:27:15Z","updated_at":"2018-04-12T20:57:50Z","closed_at":"2018-04-12T20:57:50Z","author_association":"OWNER","body":"Although nginx max_body_size and phpfpm max upload are set, upload is still restricted by post_max_size.\r\n\r\nAdd environment variable `NGINX_MAX_POST_SIZE` with default 8M\r\n\r\n~~~\r\nNGINX_MAX_POST_SIZE=${NGINX_MAX_POST_SIZE:='8M'}\r\n\r\nsed -i \"s/post_max_size = 8M/post_max_size = $NGINX_MAX_POST_SIZE/g\" /etc/php/7.0/fpm/php.ini\r\n~~~"}}
{"actor":{"display_login":"Venator-Fox"}}