{"action":"created","issue":{"url":"https://api.github.com/repos/sandstorm-io/sandstorm/issues/504","labels_url":"https://api.github.com/repos/sandstorm-io/sandstorm/issues/504/labels{/name}","comments_url":"https://api.github.com/repos/sandstorm-io/sandstorm/issues/504/comments","events_url":"https://api.github.com/repos/sandstorm-io/sandstorm/issues/504/events","html_url":"https://github.com/sandstorm-io/sandstorm/issues/504","id":88515276,"number":504,"title":"Document how to set BASE_URL for apache2 with https","user":{"login":"arthurlutz","id":108437,"avatar_url":"https://avatars.githubusercontent.com/u/108437?v=3","gravatar_id":"","url":"https://api.github.com/users/arthurlutz","html_url":"https://github.com/arthurlutz","followers_url":"https://api.github.com/users/arthurlutz/followers","following_url":"https://api.github.com/users/arthurlutz/following{/other_user}","gists_url":"https://api.github.com/users/arthurlutz/gists{/gist_id}","starred_url":"https://api.github.com/users/arthurlutz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arthurlutz/subscriptions","organizations_url":"https://api.github.com/users/arthurlutz/orgs","repos_url":"https://api.github.com/users/arthurlutz/repos","events_url":"https://api.github.com/users/arthurlutz/events{/privacy}","received_events_url":"https://api.github.com/users/arthurlutz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-15T19:20:17Z","updated_at":"2015-06-15T20:26:14Z","closed_at":null,"body":"Hi,\r\n\r\nI'm trying to setup sandstorm in a docker behind an apache web server. But I'm having trouble and cannot find any documentation about this. \r\n\r\nWhat should we put in the BASE_URL and WILDCARD_HOST ? In the initial version there is port information, can this be removed when using https ? \r\n\r\nI'm using : \r\n```\r\n-BASE_URL=http://local.sandstorm.io:6080\\n\\\r\n-WILDCARD_HOST=*.local.sandstorm.io:6080\\n\\\r\n+BASE_URL=https://sandstorm.mydomain.im\\n\\\r\n+WILDCARD_HOST=*.sandstorm.mydomain.im\\n\\\r\n```\r\nAnd I end up getting : \r\n\r\n```\r\nError looking up DNS TXT records for host '127.0.0.1': queryTxt ENOTFOUND\r\n\r\nThis Sandstorm server's main interface is at: https://sandstorm.mydomain.im \r\n```\r\nIs this because the apache proxy makes sandstorm see the incoming connexion as 127.0.0.1 ? \r\n"},"comment":{"url":"https://api.github.com/repos/sandstorm-io/sandstorm/issues/comments/112198265","html_url":"https://github.com/sandstorm-io/sandstorm/issues/504#issuecomment-112198265","issue_url":"https://api.github.com/repos/sandstorm-io/sandstorm/issues/504","id":112198265,"user":{"login":"arthurlutz","id":108437,"avatar_url":"https://avatars.githubusercontent.com/u/108437?v=3","gravatar_id":"","url":"https://api.github.com/users/arthurlutz","html_url":"https://github.com/arthurlutz","followers_url":"https://api.github.com/users/arthurlutz/followers","following_url":"https://api.github.com/users/arthurlutz/following{/other_user}","gists_url":"https://api.github.com/users/arthurlutz/gists{/gist_id}","starred_url":"https://api.github.com/users/arthurlutz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arthurlutz/subscriptions","organizations_url":"https://api.github.com/users/arthurlutz/orgs","repos_url":"https://api.github.com/users/arthurlutz/repos","events_url":"https://api.github.com/users/arthurlutz/events{/privacy}","received_events_url":"https://api.github.com/users/arthurlutz/received_events","type":"User","site_admin":false},"created_at":"2015-06-15T20:26:14Z","updated_at":"2015-06-15T20:26:14Z","body":"OK, using sandstorm over http for the moment to bypass the wildcard certificate problem (could find a way to add ssl exceptions on frames for each grain and that would get me going with https and a certificate exception for each grain).\r\n\r\nNow am bumping into the websocket problem. Am stuck with apache for a number of reasons, is there a way to proxy websocket like you suggest with nginx ? I've activated mod_proxy_wstunnel https://httpd.apache.org/docs/2.4/mod/mod_proxy_wstunnel.html but I guess I'm missing some configuration for it to work (for example libreboard fails to load on ws error)."}}