{"action":"created","issue":{"url":"https://api.github.com/repos/twostairs/paperwork/issues/197","labels_url":"https://api.github.com/repos/twostairs/paperwork/issues/197/labels{/name}","comments_url":"https://api.github.com/repos/twostairs/paperwork/issues/197/comments","events_url":"https://api.github.com/repos/twostairs/paperwork/issues/197/events","html_url":"https://github.com/twostairs/paperwork/issues/197","id":56390010,"number":197,"title":"Paperwork behind Nginx Reverse-Proxy?","user":{"login":"DeviantEng","id":6692938,"avatar_url":"https://avatars.githubusercontent.com/u/6692938?v=3","gravatar_id":"","url":"https://api.github.com/users/DeviantEng","html_url":"https://github.com/DeviantEng","followers_url":"https://api.github.com/users/DeviantEng/followers","following_url":"https://api.github.com/users/DeviantEng/following{/other_user}","gists_url":"https://api.github.com/users/DeviantEng/gists{/gist_id}","starred_url":"https://api.github.com/users/DeviantEng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DeviantEng/subscriptions","organizations_url":"https://api.github.com/users/DeviantEng/orgs","repos_url":"https://api.github.com/users/DeviantEng/repos","events_url":"https://api.github.com/users/DeviantEng/events{/privacy}","received_events_url":"https://api.github.com/users/DeviantEng/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-02-03T15:12:45Z","updated_at":"2015-02-06T21:08:05Z","closed_at":null,"body":"Hi guys.\r\n\r\nSo yeah, a few weeks ago I revisted this project, and I am very happy with it.  I've moved over my stuff from Evernote to Paperwork, and configured paperwork to proxy through my Nginx reverse proxy, and now I'm having issues.\r\n\r\npaperwork.domain.local is my server name that paperwork is running on.  domain.com is my public facing domain, and I have my Nginx reverse-proxy setup using that already with other services.  For example, cloud.domain.com reverse proxies to owncloud.domain.local, and it works great.  notes.domain.com is what's used for my Paperwork setup.\r\n\r\nWith the same setup, I can get to the login screen for paperwork.  Once I type in my creds, I hit Sign in and get redirected from https://notes.domain.com/login, to http://paperwork.domain.local/login, which obviously isn't accessible outside my network.  \r\n\r\nIs Paperwork hard coded to do, or something?  I have 9 other services with the same config in Nginx, and they all work just fine.  Paperwork redirects in a strange way.\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/twostairs/paperwork/issues/comments/73312611","html_url":"https://github.com/twostairs/paperwork/issues/197#issuecomment-73312611","issue_url":"https://api.github.com/repos/twostairs/paperwork/issues/197","id":73312611,"user":{"login":"devilx","id":151967,"avatar_url":"https://avatars.githubusercontent.com/u/151967?v=3","gravatar_id":"","url":"https://api.github.com/users/devilx","html_url":"https://github.com/devilx","followers_url":"https://api.github.com/users/devilx/followers","following_url":"https://api.github.com/users/devilx/following{/other_user}","gists_url":"https://api.github.com/users/devilx/gists{/gist_id}","starred_url":"https://api.github.com/users/devilx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devilx/subscriptions","organizations_url":"https://api.github.com/users/devilx/orgs","repos_url":"https://api.github.com/users/devilx/repos","events_url":"https://api.github.com/users/devilx/events{/privacy}","received_events_url":"https://api.github.com/users/devilx/received_events","type":"User","site_admin":false},"created_at":"2015-02-06T21:08:05Z","updated_at":"2015-02-06T21:08:05Z","body":"That's weird. Are you sure your nginx config doesn't perform the rewriting/redirecting?"}}