{"action":"created","issue":{"url":"https://api.github.com/repos/openmicroscopy/ansible-role-nginx-proxy/issues/10","repository_url":"https://api.github.com/repos/openmicroscopy/ansible-role-nginx-proxy","labels_url":"https://api.github.com/repos/openmicroscopy/ansible-role-nginx-proxy/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/openmicroscopy/ansible-role-nginx-proxy/issues/10/comments","events_url":"https://api.github.com/repos/openmicroscopy/ansible-role-nginx-proxy/issues/10/events","html_url":"https://github.com/openmicroscopy/ansible-role-nginx-proxy/pull/10","id":246388220,"number":10,"title":"Allow additional config parameters to be added to nginx.conf ","user":{"login":"kennethgillen","id":2727871,"avatar_url":"https://avatars3.githubusercontent.com/u/2727871?v=4","gravatar_id":"","url":"https://api.github.com/users/kennethgillen","html_url":"https://github.com/kennethgillen","followers_url":"https://api.github.com/users/kennethgillen/followers","following_url":"https://api.github.com/users/kennethgillen/following{/other_user}","gists_url":"https://api.github.com/users/kennethgillen/gists{/gist_id}","starred_url":"https://api.github.com/users/kennethgillen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kennethgillen/subscriptions","organizations_url":"https://api.github.com/users/kennethgillen/orgs","repos_url":"https://api.github.com/users/kennethgillen/repos","events_url":"https://api.github.com/users/kennethgillen/events{/privacy}","received_events_url":"https://api.github.com/users/kennethgillen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2017-07-28T15:52:46Z","updated_at":"2017-07-31T15:11:38Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/openmicroscopy/ansible-role-nginx-proxy/pulls/10","html_url":"https://github.com/openmicroscopy/ansible-role-nginx-proxy/pull/10","diff_url":"https://github.com/openmicroscopy/ansible-role-nginx-proxy/pull/10.diff","patch_url":"https://github.com/openmicroscopy/ansible-role-nginx-proxy/pull/10.patch"},"body":"Allow additional parameters to be added to the `nginx.conf` `http` section:\r\ne.g.\r\n\r\n```\r\n    - role: openmicroscopy.nginx_proxy\r\n      nginx_proxy_worker_processes: \"{{ ((ansible_processor_count * ansible_processor_cores) / 2) |round|int }}\"\r\n      nginx_proxy_http2: True\r\n      nginx_proxy_force_ssl: False\r\n      nginx_proxy_404: \"/404.html\"\r\n      nginx_proxy_conf_http:\r\n        - \"client_max_body_size 2g;\"\r\n        - \"#another commented setting;\"\r\n```\r\n\r\nResulting in: \r\n```\r\n[root@ome-www-dev nginx]# git diff\r\ndiff --git a/nginx.conf b/nginx.conf\r\nindex b5bdcea..65e211d 100644\r\n--- a/nginx.conf\r\n+++ b/nginx.conf\r\n@@ -47,6 +47,9 @@ http {\r\n     sendfile        on;\r\n     #tcp_nopush     on;\r\n\r\n+    client_max_body_size 2g;\r\n+    # another commented setting;\r\n+\r\n     keepalive_timeout  65;\r\n\r\n     #gzip  on;\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/openmicroscopy/ansible-role-nginx-proxy/issues/comments/319097282","html_url":"https://github.com/openmicroscopy/ansible-role-nginx-proxy/pull/10#issuecomment-319097282","issue_url":"https://api.github.com/repos/openmicroscopy/ansible-role-nginx-proxy/issues/10","id":319097282,"user":{"login":"kennethgillen","id":2727871,"avatar_url":"https://avatars3.githubusercontent.com/u/2727871?v=4","gravatar_id":"","url":"https://api.github.com/users/kennethgillen","html_url":"https://github.com/kennethgillen","followers_url":"https://api.github.com/users/kennethgillen/followers","following_url":"https://api.github.com/users/kennethgillen/following{/other_user}","gists_url":"https://api.github.com/users/kennethgillen/gists{/gist_id}","starred_url":"https://api.github.com/users/kennethgillen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kennethgillen/subscriptions","organizations_url":"https://api.github.com/users/kennethgillen/orgs","repos_url":"https://api.github.com/users/kennethgillen/repos","events_url":"https://api.github.com/users/kennethgillen/events{/privacy}","received_events_url":"https://api.github.com/users/kennethgillen/received_events","type":"User","site_admin":false},"created_at":"2017-07-31T15:11:38Z","updated_at":"2017-07-31T15:11:38Z","body":"@manics  - yup, makes sense. Don't need to here. How's it looking now?"}}
{"actor":{"display_login":"kennethgillen"}}