{"action":"created","issue":{"url":"https://api.github.com/repos/zestedesavoir/zds-site/issues/3575","repository_url":"https://api.github.com/repos/zestedesavoir/zds-site","labels_url":"https://api.github.com/repos/zestedesavoir/zds-site/issues/3575/labels{/name}","comments_url":"https://api.github.com/repos/zestedesavoir/zds-site/issues/3575/comments","events_url":"https://api.github.com/repos/zestedesavoir/zds-site/issues/3575/events","html_url":"https://github.com/zestedesavoir/zds-site/pull/3575","id":152458323,"number":3575,"title":"Mise à jour de la configuration nginx","user":{"login":"sandhose","id":1549952,"avatar_url":"https://avatars.githubusercontent.com/u/1549952?v=3","gravatar_id":"","url":"https://api.github.com/users/sandhose","html_url":"https://github.com/sandhose","followers_url":"https://api.github.com/users/sandhose/followers","following_url":"https://api.github.com/users/sandhose/following{/other_user}","gists_url":"https://api.github.com/users/sandhose/gists{/gist_id}","starred_url":"https://api.github.com/users/sandhose/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sandhose/subscriptions","organizations_url":"https://api.github.com/users/sandhose/orgs","repos_url":"https://api.github.com/users/sandhose/repos","events_url":"https://api.github.com/users/sandhose/events{/privacy}","received_events_url":"https://api.github.com/users/sandhose/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/zestedesavoir/zds-site/labels/Bloquant","name":"Bloquant","color":"fbca04"},{"url":"https://api.github.com/repos/zestedesavoir/zds-site/labels/Infra","name":"Infra","color":"444444"}],"state":"open","locked":false,"assignee":{"login":"SpaceFox","id":5786268,"avatar_url":"https://avatars.githubusercontent.com/u/5786268?v=3","gravatar_id":"","url":"https://api.github.com/users/SpaceFox","html_url":"https://github.com/SpaceFox","followers_url":"https://api.github.com/users/SpaceFox/followers","following_url":"https://api.github.com/users/SpaceFox/following{/other_user}","gists_url":"https://api.github.com/users/SpaceFox/gists{/gist_id}","starred_url":"https://api.github.com/users/SpaceFox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SpaceFox/subscriptions","organizations_url":"https://api.github.com/users/SpaceFox/orgs","repos_url":"https://api.github.com/users/SpaceFox/repos","events_url":"https://api.github.com/users/SpaceFox/events{/privacy}","received_events_url":"https://api.github.com/users/SpaceFox/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/zestedesavoir/zds-site/milestones/31","html_url":"https://github.com/zestedesavoir/zds-site/milestones/Version%2018","labels_url":"https://api.github.com/repos/zestedesavoir/zds-site/milestones/31/labels","id":1604052,"number":31,"title":"Version 18","description":"","creator":{"login":"SpaceFox","id":5786268,"avatar_url":"https://avatars.githubusercontent.com/u/5786268?v=3","gravatar_id":"","url":"https://api.github.com/users/SpaceFox","html_url":"https://github.com/SpaceFox","followers_url":"https://api.github.com/users/SpaceFox/followers","following_url":"https://api.github.com/users/SpaceFox/following{/other_user}","gists_url":"https://api.github.com/users/SpaceFox/gists{/gist_id}","starred_url":"https://api.github.com/users/SpaceFox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SpaceFox/subscriptions","organizations_url":"https://api.github.com/users/SpaceFox/orgs","repos_url":"https://api.github.com/users/SpaceFox/repos","events_url":"https://api.github.com/users/SpaceFox/events{/privacy}","received_events_url":"https://api.github.com/users/SpaceFox/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":71,"state":"open","created_at":"2016-02-24T22:33:37Z","updated_at":"2016-05-03T18:17:29Z","due_on":null,"closed_at":null},"comments":15,"created_at":"2016-05-01T22:13:22Z","updated_at":"2016-05-03T19:39:09Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/zestedesavoir/zds-site/pulls/3575","html_url":"https://github.com/zestedesavoir/zds-site/pull/3575","diff_url":"https://github.com/zestedesavoir/zds-site/pull/3575.diff","patch_url":"https://github.com/zestedesavoir/zds-site/pull/3575.patch"},"body":"| Q                                   | R\r\n| ----------------------------------- | -------------------------------------------\r\n| Type de modification                | évolution\r\n| Ticket(s) (_issue(s)_) concerné(s)  | #3572 \r\n\r\nPfiou, c'est fait !\r\n\r\nDonc, pour résumer:\r\n\r\n - La conf est maintenant *strictement* identique entre la beta et la prod, à l'exception de la redirection en plus `www.zestedesavoir.com` -> `zestedesavoir.com` en prod.\r\n - Elle a été séparée en plein de petits fichiers\r\n - Il  y a maintenant un dossier `webroot/`, avec tous ce qui doit être servi en statique, ce qui simplifie grandement le fichier de conf\r\n - La maintenance s'active maintenant quand il y a un fichier `webroot/maintenance.html` de présent ; suffit donc de faire `ln -s errors/maintenance.html /opt/zdsenv/webroot/` pour l'activer, et `rm /opt/zdsenv/webroot/maintenance.html` pour la desactiver. Plus besoin de recharger nginx, et on profite du reste de la conf (headers, règles pour les robots, https, ...)\r\n\r\nVoir l'update.md pour le reste\r\n\r\nJ'ai aussi update Sphinx, puisqu'il permet de rajouter des légendes au blocs de code directement depuis la 1.3, ce qui m'a permis de rajouter des liens pour télécharger les différents fichiers de conf directement dans la doc.\r\n\r\n**J'ai mis sur la branche de la v18, mais il peut, et devrait être fait la maintenant, en dehors de la MEP, histoire d'alléger la MEP de la v18**\r\n\r\n### QA\r\n\r\n* Update Sphinx (`pip install -u requirements-dev.txt`)\r\n* Build la doc, et vérifier son contennu\r\n* Vérifiez les instruction ? La conf en question est déjà en beta"},"comment":{"url":"https://api.github.com/repos/zestedesavoir/zds-site/issues/comments/216641982","html_url":"https://github.com/zestedesavoir/zds-site/pull/3575#issuecomment-216641982","issue_url":"https://api.github.com/repos/zestedesavoir/zds-site/issues/3575","id":216641982,"user":{"login":"coveralls","id":2354108,"avatar_url":"https://avatars.githubusercontent.com/u/2354108?v=3","gravatar_id":"","url":"https://api.github.com/users/coveralls","html_url":"https://github.com/coveralls","followers_url":"https://api.github.com/users/coveralls/followers","following_url":"https://api.github.com/users/coveralls/following{/other_user}","gists_url":"https://api.github.com/users/coveralls/gists{/gist_id}","starred_url":"https://api.github.com/users/coveralls/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coveralls/subscriptions","organizations_url":"https://api.github.com/users/coveralls/orgs","repos_url":"https://api.github.com/users/coveralls/repos","events_url":"https://api.github.com/users/coveralls/events{/privacy}","received_events_url":"https://api.github.com/users/coveralls/received_events","type":"User","site_admin":false},"created_at":"2016-05-03T19:39:09Z","updated_at":"2016-05-03T19:39:09Z","body":"\n[![Coverage Status](https://coveralls.io/builds/6034883/badge)](https://coveralls.io/builds/6034883)\n\nCoverage decreased (-34.1%) to 53.219% when pulling **ceeff6b5ecd256555a8b5d2d1303bf6488966cf0 on sandhose:update-conf-nginx** into **f454d297b371199676faad927e5b734cdaff2ac6 on zestedesavoir:release-v18**.\n"}}