{"action":"created","issue":{"url":"https://api.github.com/repos/anthonyraymond/joal/issues/33","repository_url":"https://api.github.com/repos/anthonyraymond/joal","labels_url":"https://api.github.com/repos/anthonyraymond/joal/issues/33/labels{/name}","comments_url":"https://api.github.com/repos/anthonyraymond/joal/issues/33/comments","events_url":"https://api.github.com/repos/anthonyraymond/joal/issues/33/events","html_url":"https://github.com/anthonyraymond/joal/issues/33","id":334802456,"node_id":"MDU6SXNzdWUzMzQ4MDI0NTY=","number":33,"title":"Access behind reverse proxy","user":{"login":"gaglimax","id":32092271,"node_id":"MDQ6VXNlcjMyMDkyMjcx","avatar_url":"https://avatars2.githubusercontent.com/u/32092271?v=4","gravatar_id":"","url":"https://api.github.com/users/gaglimax","html_url":"https://github.com/gaglimax","followers_url":"https://api.github.com/users/gaglimax/followers","following_url":"https://api.github.com/users/gaglimax/following{/other_user}","gists_url":"https://api.github.com/users/gaglimax/gists{/gist_id}","starred_url":"https://api.github.com/users/gaglimax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gaglimax/subscriptions","organizations_url":"https://api.github.com/users/gaglimax/orgs","repos_url":"https://api.github.com/users/gaglimax/repos","events_url":"https://api.github.com/users/gaglimax/events{/privacy}","received_events_url":"https://api.github.com/users/gaglimax/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2018-06-22T09:07:05Z","updated_at":"2018-06-22T22:33:41Z","closed_at":null,"author_association":"NONE","body":"Hi !\r\n\r\nI open another issue because I try to access to the web UI behind a reverse proxy.\r\nTo run joal, the command is :\r\n`java -jar /opt/joal/jack-of-all-trades-2.1.3.jar --joal-conf=/opt/joal --spring.main.web-environment=true --server.port=7073 --joal.ui.path.prefix=joal --joal.ui.secret-token=\"test\"`\r\n\r\nNow, if I visit _http://x.x.x.x:7073/joal/ui/_ though local network, it works with those parameters :\r\n<img src=\"https://user-images.githubusercontent.com/32092271/41767497-0a358ae4-760a-11e8-85f4-14e20c44f2f4.png\" width=\"250\">\r\n\r\nNow, if I set up a virtual host behind a reverse proxy :\r\n```\r\n<VirtualHost *:443>\r\n\tDocumentRoot \"/var/www/html\"\r\n\tServerName joal.server.fr\r\n\tServerAlias www.joal.server.fr\r\n\r\n\tLogLevel warn\r\n\tErrorLog ${APACHE_LOG_DIR}/joal-error.log\r\n\tCustomLog ${APACHE_LOG_DIR}/joal-access.log combined\r\n\r\n\tRewriteEngine On\r\n\tRewriteCond %{HTTP_HOST} !^www\\. [NC]\r\n\tRewriteRule ^(.*)$ http://www.%{HTTP_HOST}$1 [R=301,L]\r\n\r\n\t<Directory /var/www/joal/>\r\n\t\tOptions +FollowSymLinks -Indexes -MultiViews\r\n\t\tAllowOverride all\r\n\t\tOrder allow,deny\r\n\t\tallow from all\r\n\t</Directory>\r\n\r\n\tProxyPass / http://127.0.0.1:7073/joal/ui/\r\n\tProxyPassReverse / http://127.0.0.1:7073/joal/ui/\r\n\tProxyRequests Off\r\n\r\n        Include /etc/letsencrypt/options-ssl-apache.conf\r\n        SSLCertificateFile /etc/letsencrypt/live/joal.server.fr/fullchain.pem\r\n        SSLCertificateKeyFile /etc/letsencrypt/live/joal.server.fr/privkey.pem\r\n</VirtualHost>\r\n</IfModule>\r\n```\r\n\r\nThe web UI works but I've got this message in the right top corner :\r\n<img src=\"https://user-images.githubusercontent.com/32092271/41767653-9024d89e-760a-11e8-966f-c92fa0828b8e.png\" width=\"250\">\r\n\r\nThe parameters are :\r\n<img src=\"https://user-images.githubusercontent.com/32092271/41767747-bccee9b6-760a-11e8-9ef7-0bef3ed18e07.png\" width=\"250\">\r\n\r\nI don't know if it's possible to use it behind a reverse proxy with SSL encryption like but.\r\n\r\nThanks for your help :)\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/anthonyraymond/joal/issues/comments/399600881","html_url":"https://github.com/anthonyraymond/joal/issues/33#issuecomment-399600881","issue_url":"https://api.github.com/repos/anthonyraymond/joal/issues/33","id":399600881,"node_id":"MDEyOklzc3VlQ29tbWVudDM5OTYwMDg4MQ==","user":{"login":"gaglimax","id":32092271,"node_id":"MDQ6VXNlcjMyMDkyMjcx","avatar_url":"https://avatars2.githubusercontent.com/u/32092271?v=4","gravatar_id":"","url":"https://api.github.com/users/gaglimax","html_url":"https://github.com/gaglimax","followers_url":"https://api.github.com/users/gaglimax/followers","following_url":"https://api.github.com/users/gaglimax/following{/other_user}","gists_url":"https://api.github.com/users/gaglimax/gists{/gist_id}","starred_url":"https://api.github.com/users/gaglimax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gaglimax/subscriptions","organizations_url":"https://api.github.com/users/gaglimax/orgs","repos_url":"https://api.github.com/users/gaglimax/repos","events_url":"https://api.github.com/users/gaglimax/events{/privacy}","received_events_url":"https://api.github.com/users/gaglimax/received_events","type":"User","site_admin":false},"created_at":"2018-06-22T22:33:41Z","updated_at":"2018-06-22T22:33:41Z","author_association":"NONE","body":"No I wanted to keep it secret but it's late so I forgot this one XD"}}
{"actor":{"display_login":"gaglimax"}}