{"action":"created","issue":{"url":"https://api.github.com/repos/ldidry/lutim/issues/46","labels_url":"https://api.github.com/repos/ldidry/lutim/issues/46/labels{/name}","comments_url":"https://api.github.com/repos/ldidry/lutim/issues/46/comments","events_url":"https://api.github.com/repos/ldidry/lutim/issues/46/events","html_url":"https://github.com/ldidry/lutim/issues/46","id":43557220,"number":46,"title":"Page not found","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},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":28,"created_at":"2014-09-22T21:37:33Z","updated_at":"2015-03-10T09:17:24Z","closed_at":null,"body":"Bonjour,\r\nme revoila encore!\r\n\r\nAprès avoir refait l'install de carton avec cpan (0.9.7 par apt-get), hypnotoad semble tourner, mais j'obtiens \"Page not found\" et un \"Bye!\" sans plus de ménagement.\r\n\r\nImpossible de trouver un log de hypnotoad, si il y en a un et donc impossible de savoir ce qui ne tourne pas rond.\r\nTout le dossier lutim est en www-data et je n'ai aucun message d'erreur nul part...\r\n\r\nJ'exploite la config nginx donnée ici-même avec quelques modif, la configuration de Yunohost imposant ses contraintes.\r\n```bin/bash\r\n#server {\r\n#    listen 80;\r\n#    root /path/to/lutim/public;\r\n\r\n    # This is important for user's privacy !\r\n#    access_log off;\r\n#    error_log /var/log/nginx/lutim.error.log;\r\n\r\n    # This is important ! Make it OK with your Lutim configuration\r\n    client_max_body_size 40M;\r\n\r\n    location ~* ^/(img|css|font|js)/ {\r\n        try_files $uri @lutim;\r\n        add_header Expires \"Thu, 31 Dec 2037 23:55:55 GMT\";\r\n        add_header Cache-Control \"public, max-age=315360000\";\r\n\r\n        # HTTPS only header, improves security\r\n        #add_header Strict-Transport-Security \"max-age=15768000\";\r\n    }\r\n\r\n#    location / {\r\n    location /lutim {\r\n    root /var/www/webapp_mcrudelis/lutim/;\r\n        try_files $uri @lutim;\r\n\r\n        # HTTPS only header, improves security\r\n        #add_header Strict-Transport-Security \"max-age=15768000\";\r\n    }\r\n\r\n    location @lutim {\r\n        # Adapt this to your configuration\r\n        # My advice: put a varnish between nginx and Lutim, it's really useful when images are widel$\r\n        proxy_pass  http://127.0.0.1:8095;\r\n\r\n        proxy_set_header Host $host;\r\n        proxy_set_header X-Real-IP $remote_addr;\r\n        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;\r\n\r\n        # If you want to log the remote port of the image senders, you'll need that\r\n        proxy_set_header X-Remote-Port $remote_port;\r\n\r\n        # Lutim reads this header and understands that the current session is actually HTTPS.\r\n        # Enable it if you run a HTTPS server (in this case, don't forgot to change the listen port $\r\n        #proxy_set_header X-Forwarded-Proto https;\r\n\r\n        # We expect the downsteam servers to redirect to the right hostname, so don't do any rewrite$\r\n        proxy_redirect     off;\r\n    }\r\n```\r\n\r\nLe manque de log d'hypnotoad est vraiment gênant, car manifestement nginx fait son boulot. De fait, il est difficile de diagnostiquer le problème.\r\nD'autant que, à l'exception de la config nginx légèrement modifiée, l'installation est tout à fait basique."},"comment":{"url":"https://api.github.com/repos/ldidry/lutim/issues/comments/78018735","html_url":"https://github.com/ldidry/lutim/issues/46#issuecomment-78018735","issue_url":"https://api.github.com/repos/ldidry/lutim/issues/46","id":78018735,"user":{"login":"matlink","id":4450078,"avatar_url":"https://avatars.githubusercontent.com/u/4450078?v=3","gravatar_id":"","url":"https://api.github.com/users/matlink","html_url":"https://github.com/matlink","followers_url":"https://api.github.com/users/matlink/followers","following_url":"https://api.github.com/users/matlink/following{/other_user}","gists_url":"https://api.github.com/users/matlink/gists{/gist_id}","starred_url":"https://api.github.com/users/matlink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matlink/subscriptions","organizations_url":"https://api.github.com/users/matlink/orgs","repos_url":"https://api.github.com/users/matlink/repos","events_url":"https://api.github.com/users/matlink/events{/privacy}","received_events_url":"https://api.github.com/users/matlink/received_events","type":"User","site_admin":false},"created_at":"2015-03-10T09:17:24Z","updated_at":"2015-03-10T09:17:24Z","body":"J'ai pas vu que tu avais repris le dev sur lutim.\r\nJ'ai donc refais un packaging vu que celui indiqué sur la page des apps yunohost ne fonctionne pas du tout.\r\nTu peux le consulter ici : https://github.com/matlink/lutim_ynh\r\nTout fonctionne, il ne me reste plus qu'à rendre public l'accès aux images seulement. "}}