{"action":"closed","issue":{"url":"https://api.github.com/repos/wunderkraut/docker-container-app-configs/issues/8","repository_url":"https://api.github.com/repos/wunderkraut/docker-container-app-configs","labels_url":"https://api.github.com/repos/wunderkraut/docker-container-app-configs/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/wunderkraut/docker-container-app-configs/issues/8/comments","events_url":"https://api.github.com/repos/wunderkraut/docker-container-app-configs/issues/8/events","html_url":"https://github.com/wunderkraut/docker-container-app-configs/issues/8","id":153751634,"number":8,"title":"nginx drupal settings produce 500 error","user":{"login":"james-nesbitt","id":2392104,"avatar_url":"https://avatars.githubusercontent.com/u/2392104?v=3","gravatar_id":"","url":"https://api.github.com/users/james-nesbitt","html_url":"https://github.com/james-nesbitt","followers_url":"https://api.github.com/users/james-nesbitt/followers","following_url":"https://api.github.com/users/james-nesbitt/following{/other_user}","gists_url":"https://api.github.com/users/james-nesbitt/gists{/gist_id}","starred_url":"https://api.github.com/users/james-nesbitt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/james-nesbitt/subscriptions","organizations_url":"https://api.github.com/users/james-nesbitt/orgs","repos_url":"https://api.github.com/users/james-nesbitt/repos","events_url":"https://api.github.com/users/james-nesbitt/events{/privacy}","received_events_url":"https://api.github.com/users/james-nesbitt/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/wunderkraut/docker-container-app-configs/labels/bug","name":"bug","color":"ee0701"}],"state":"closed","locked":false,"assignee":{"login":"iler","id":592269,"avatar_url":"https://avatars.githubusercontent.com/u/592269?v=3","gravatar_id":"","url":"https://api.github.com/users/iler","html_url":"https://github.com/iler","followers_url":"https://api.github.com/users/iler/followers","following_url":"https://api.github.com/users/iler/following{/other_user}","gists_url":"https://api.github.com/users/iler/gists{/gist_id}","starred_url":"https://api.github.com/users/iler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iler/subscriptions","organizations_url":"https://api.github.com/users/iler/orgs","repos_url":"https://api.github.com/users/iler/repos","events_url":"https://api.github.com/users/iler/events{/privacy}","received_events_url":"https://api.github.com/users/iler/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2016-05-09T10:58:45Z","updated_at":"2016-05-10T10:55:55Z","closed_at":"2016-05-10T10:55:55Z","body":"The following file mapping is being used:\r\n\r\n````\r\nRUN mkdir /etc/nginx/conf.d && \\\r\n    curl -o /etc/nginx/nginx.conf https://raw.githubusercontent.com/wunderkraut/docker-container-app-configs/master/nginx/nginx.conf_drupal && \\\r\n    curl -o /etc/nginx/conf.d/app_drupal.conf https://raw.githubusercontent.com/wunderkraut/docker-container-app-configs/master/nginx/conf.d/app_drupal.conf && \\\r\n    curl -o /etc/nginx/conf.d/fastcgi_drupal.conf https://raw.githubusercontent.com/wunderkraut/docker-container-app-configs/master/nginx/conf.d/fastcgi_drupal.conf && \\\r\n    curl -o /etc/nginx/conf.d/nginx_app.conf https://raw.githubusercontent.com/wunderkraut/docker-container-app-configs/master/nginx/conf.d/nginx_app.conf && \\\r\n    curl -o /etc/nginx/conf.d/nginx_upstream.conf https://raw.githubusercontent.com/wunderkraut/docker-container-app-configs/master/nginx/conf.d/nginx_upstream.conf\r\n````\r\n\r\nor to summarize:\r\n\r\n1. nginx/nginx.conf_drupal -> /etc/nginx/nginx.conf\r\n2. nginx/conf.d/app_drupal.conf -> /etc/nginx/conf.d/app_drupal.conf\r\n3. nginx/fastcgi_drupal.conf -> /etc/nginx/astcgi_drupal.conf\r\n4. nginx/conf.d/nginx_app.conf -> /etc/nginx/conf.d/nginx_app.conf\r\n5. nginx/conf.d/nginx_upstream.conf -> /etc/nginx/conf.d/nginx_upstream.conf\r\n\r\n````\r\nwww_1       | 2016/05/09 10:31:44 [error] 9#0: *1 rewrite or internal redirection cycle while redirect to named location \"@drupal\", client: 172.19.0.1, server: _, request: \"GET / HTTP/1.1\", host: \"172.19.0.5\"\r\nwww_1       | 2016/05/09 10:31:55 [info] 9#0: *2 client 172.19.0.1 closed keepalive connection\r\n````\r\n\r\nCan you clarify how the nginx conf should be used?"}}