{"action":"created","issue":{"url":"https://api.github.com/repos/streamaserver/streama/issues/703","repository_url":"https://api.github.com/repos/streamaserver/streama","labels_url":"https://api.github.com/repos/streamaserver/streama/issues/703/labels{/name}","comments_url":"https://api.github.com/repos/streamaserver/streama/issues/703/comments","events_url":"https://api.github.com/repos/streamaserver/streama/issues/703/events","html_url":"https://github.com/streamaserver/streama/issues/703","id":385958257,"node_id":"MDU6SXNzdWUzODU5NTgyNTc=","number":703,"title":"reverse proxy rewrite","user":{"login":"MimTiller","id":18272296,"node_id":"MDQ6VXNlcjE4MjcyMjk2","avatar_url":"https://avatars2.githubusercontent.com/u/18272296?v=4","gravatar_id":"","url":"https://api.github.com/users/MimTiller","html_url":"https://github.com/MimTiller","followers_url":"https://api.github.com/users/MimTiller/followers","following_url":"https://api.github.com/users/MimTiller/following{/other_user}","gists_url":"https://api.github.com/users/MimTiller/gists{/gist_id}","starred_url":"https://api.github.com/users/MimTiller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MimTiller/subscriptions","organizations_url":"https://api.github.com/users/MimTiller/orgs","repos_url":"https://api.github.com/users/MimTiller/repos","events_url":"https://api.github.com/users/MimTiller/events{/privacy}","received_events_url":"https://api.github.com/users/MimTiller/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2018-11-29T22:40:25Z","updated_at":"2019-01-05T00:36:15Z","closed_at":"2019-01-04T15:50:43Z","author_association":"NONE","body":"### Issue description\r\nI am trying to get streama to work behind my reverse proxy that is secured by https (the streama server is not secured, only the proxy)\r\n\r\nthe url I am trying to get to work is https://vinylcraft.net/vinylstream/\r\nit keeps rewriting to https://vinylcraft.net/login/auth\r\n\r\n### Steps to Reproduce\r\n\r\n1. download windows .war file, setup yml with correct url, setup settings with correct url (both set with https://vinylcraft.net/vinylstream)\r\n2. configure reverse proxy through nginx with instruction provided: \r\n```\r\nserver {\r\n  listen 443 ssl http2;\r\n  location /vinylstream {\r\n        proxy_set_header Host $host;\r\n        proxy_set_header X-Real-IP $remote_addr;\r\n        proxy_set_header X-Forwarded-Proto $scheme;\r\n        proxy_set_header X-Forwarded-Port $server_port;\r\n        proxy_http_version 1.1;\r\n        proxy_set_header Upgrade $http_upgrade;\r\n        proxy_set_header Connection $http_connection;\r\n        rewrite ^/vinylstream/(.*)$ /$1 break;\r\n        proxy_pass http://192.168.0.13:8080;\r\n  }\r\n}\r\n```\r\n3. start streama and reload nginx proxy\r\n\r\n### Expected Behaviour\r\nshould redirect to https://vinylcraft.net/vinylstream\r\n\r\n### Actual Behaviour\r\n\r\n goes to https://vinylcraft.net/login/auth\r\n\r\n### Environment Information\r\n\r\n- **Operating System**: Windows 10\r\n- **Streama version**: v1.6.0-RC9\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/streamaserver/streama/issues/comments/451609882","html_url":"https://github.com/streamaserver/streama/issues/703#issuecomment-451609882","issue_url":"https://api.github.com/repos/streamaserver/streama/issues/703","id":451609882,"node_id":"MDEyOklzc3VlQ29tbWVudDQ1MTYwOTg4Mg==","user":{"login":"f1reflyyyylmao","id":17353799,"node_id":"MDQ6VXNlcjE3MzUzNzk5","avatar_url":"https://avatars0.githubusercontent.com/u/17353799?v=4","gravatar_id":"","url":"https://api.github.com/users/f1reflyyyylmao","html_url":"https://github.com/f1reflyyyylmao","followers_url":"https://api.github.com/users/f1reflyyyylmao/followers","following_url":"https://api.github.com/users/f1reflyyyylmao/following{/other_user}","gists_url":"https://api.github.com/users/f1reflyyyylmao/gists{/gist_id}","starred_url":"https://api.github.com/users/f1reflyyyylmao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/f1reflyyyylmao/subscriptions","organizations_url":"https://api.github.com/users/f1reflyyyylmao/orgs","repos_url":"https://api.github.com/users/f1reflyyyylmao/repos","events_url":"https://api.github.com/users/f1reflyyyylmao/events{/privacy}","received_events_url":"https://api.github.com/users/f1reflyyyylmao/received_events","type":"User","site_admin":false},"created_at":"2019-01-05T00:36:15Z","updated_at":"2019-01-05T00:36:15Z","author_association":"NONE","body":"I added it to my streama location block like this\r\n```\r\nproxy_set_header Content-Security-Policy \"default-src 'self'; script-src 'self' 'unsafe-eval' 'unsafe-inline'; font-src 'self' data:; style-src 'self' 'unsafe-inline'; img-src 'self' https://image.tmdb.org;\";\r\n```\r\nbut it still redirects to `mydomain.net/login/auth` instead of `mydomain.net/videos/login/auth` and media won't load on the machine that still has a valid login cookie from previous tries"}}
{"actor":{"display_login":"f1reflyyyylmao"}}