{"action":"created","issue":{"url":"https://api.github.com/repos/maniackcrudelis/my_webapp_ynh/issues/2","labels_url":"https://api.github.com/repos/maniackcrudelis/my_webapp_ynh/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/maniackcrudelis/my_webapp_ynh/issues/2/comments","events_url":"https://api.github.com/repos/maniackcrudelis/my_webapp_ynh/issues/2/events","html_url":"https://github.com/maniackcrudelis/my_webapp_ynh/issues/2","id":54658256,"number":2,"title":"https par défaut ?","user":{"login":"LeOSW42","id":673670,"avatar_url":"https://avatars.githubusercontent.com/u/673670?v=3","gravatar_id":"","url":"https://api.github.com/users/LeOSW42","html_url":"https://github.com/LeOSW42","followers_url":"https://api.github.com/users/LeOSW42/followers","following_url":"https://api.github.com/users/LeOSW42/following{/other_user}","gists_url":"https://api.github.com/users/LeOSW42/gists{/gist_id}","starred_url":"https://api.github.com/users/LeOSW42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LeOSW42/subscriptions","organizations_url":"https://api.github.com/users/LeOSW42/orgs","repos_url":"https://api.github.com/users/LeOSW42/repos","events_url":"https://api.github.com/users/LeOSW42/events{/privacy}","received_events_url":"https://api.github.com/users/LeOSW42/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-17T10:46:34Z","updated_at":"2015-01-17T11:10:50Z","closed_at":null,"body":"Rebonjour,\r\n\r\nJe pense que pour une appli de ce genre, on devrait enlever la redirection en https automatique.\r\n\r\nLéo"},"comment":{"url":"https://api.github.com/repos/maniackcrudelis/my_webapp_ynh/issues/comments/70363135","html_url":"https://github.com/maniackcrudelis/my_webapp_ynh/issues/2#issuecomment-70363135","issue_url":"https://api.github.com/repos/maniackcrudelis/my_webapp_ynh/issues/2","id":70363135,"user":{"login":"maniackcrudelis","id":8302225,"avatar_url":"https://avatars.githubusercontent.com/u/8302225?v=3","gravatar_id":"","url":"https://api.github.com/users/maniackcrudelis","html_url":"https://github.com/maniackcrudelis","followers_url":"https://api.github.com/users/maniackcrudelis/followers","following_url":"https://api.github.com/users/maniackcrudelis/following{/other_user}","gists_url":"https://api.github.com/users/maniackcrudelis/gists{/gist_id}","starred_url":"https://api.github.com/users/maniackcrudelis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maniackcrudelis/subscriptions","organizations_url":"https://api.github.com/users/maniackcrudelis/orgs","repos_url":"https://api.github.com/users/maniackcrudelis/repos","events_url":"https://api.github.com/users/maniackcrudelis/events{/privacy}","received_events_url":"https://api.github.com/users/maniackcrudelis/received_events","type":"User","site_admin":false},"created_at":"2015-01-17T11:10:50Z","updated_at":"2015-01-17T11:10:50Z","body":"C'est un choix par défaut, je préfère que ce soit sécurisé par défaut plutôt que l'inverse. Ignorant ce que contiendra la webapp.\r\n\r\nTu peux toutefois aisément retirer la redirection automatique.\r\n\r\nCe sont ces 3 lignes:\r\nhttps://github.com/maniackcrudelis/my_webapp_ynh/blob/master/conf/nginx.conf#L3-L5\r\n\r\n    if ($scheme = http) {\r\n    rewrite ^ https://$server_name$request_uri? permanent;\r\n    }"}}