{"action":"created","issue":{"url":"https://api.github.com/repos/lokenx/plexrequests-meteor/issues/420","repository_url":"https://api.github.com/repos/lokenx/plexrequests-meteor","labels_url":"https://api.github.com/repos/lokenx/plexrequests-meteor/issues/420/labels{/name}","comments_url":"https://api.github.com/repos/lokenx/plexrequests-meteor/issues/420/comments","events_url":"https://api.github.com/repos/lokenx/plexrequests-meteor/issues/420/events","html_url":"https://github.com/lokenx/plexrequests-meteor/issues/420","id":192972811,"number":420,"title":"Request assistance, Reverse proxy ssl","user":{"login":"ezraholm50","id":13510720,"avatar_url":"https://avatars.githubusercontent.com/u/13510720?v=3","gravatar_id":"","url":"https://api.github.com/users/ezraholm50","html_url":"https://github.com/ezraholm50","followers_url":"https://api.github.com/users/ezraholm50/followers","following_url":"https://api.github.com/users/ezraholm50/following{/other_user}","gists_url":"https://api.github.com/users/ezraholm50/gists{/gist_id}","starred_url":"https://api.github.com/users/ezraholm50/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ezraholm50/subscriptions","organizations_url":"https://api.github.com/users/ezraholm50/orgs","repos_url":"https://api.github.com/users/ezraholm50/repos","events_url":"https://api.github.com/users/ezraholm50/events{/privacy}","received_events_url":"https://api.github.com/users/ezraholm50/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-12-01T21:52:32Z","updated_at":"2016-12-02T01:06:26Z","closed_at":null,"body":"Hey thanks for this awesome program!! I'm sure I'm not the first one but I cant seem to get nginx to work to serve plexrequest in SSL\r\n\r\nI've followed this guide to install plexrequests http://www.htpcguides.com/install-plex-requests-net-ubuntu-14-x/\r\n\r\nBut accessing it from my domain gives a 404 not found\r\n\r\nMy nginx config now looks like this:\r\n\r\n```\r\nserver {\r\n\r\n        listen 192.168.xxx.xxx:443 ssl http2;\r\n\r\n        ssl on;\r\n        ssl_certificate /etc/letsencrypt/live/xxxxxxxxx/fullchain.pem;\r\n        ssl_certificate_key /etc/letsencrypt/live/xxxxxxxx/privkey.pem;\r\n\r\n\r\n    location /plexrequests/ {\r\n        proxy_pass          http://127.0.0.1:3579;\r\n        proxy_set_header    X-Forwarded-For $proxy_add_x_forwarded_for;\r\n        proxy_set_header    X-Real-IP $remote_addr;\r\n        # For keepalive sessions and WebSockets:\r\n        proxy_http_version  1.1;\r\n        proxy_set_header    Upgrade $http_upgrade;\r\n        proxy_set_header    Connection \"upgrade\";\r\n\r\n        # On every application update the name of the CSS and JS files are\r\n        # different, so they can be cached indefinitely. However, the root path\r\n        # **must not** be cached!\r\n        if ($uri != '/plexrequests/') {\r\n            expires 30d;\r\n        }\r\n    }\r\n}\r\n```\r\n\r\nNginx runs on the same host as Plexrequests.\r\n"},"comment":{"url":"https://api.github.com/repos/lokenx/plexrequests-meteor/issues/comments/264344510","html_url":"https://github.com/lokenx/plexrequests-meteor/issues/420#issuecomment-264344510","issue_url":"https://api.github.com/repos/lokenx/plexrequests-meteor/issues/420","id":264344510,"user":{"login":"rjorgenson","id":44096,"avatar_url":"https://avatars.githubusercontent.com/u/44096?v=3","gravatar_id":"","url":"https://api.github.com/users/rjorgenson","html_url":"https://github.com/rjorgenson","followers_url":"https://api.github.com/users/rjorgenson/followers","following_url":"https://api.github.com/users/rjorgenson/following{/other_user}","gists_url":"https://api.github.com/users/rjorgenson/gists{/gist_id}","starred_url":"https://api.github.com/users/rjorgenson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rjorgenson/subscriptions","organizations_url":"https://api.github.com/users/rjorgenson/orgs","repos_url":"https://api.github.com/users/rjorgenson/repos","events_url":"https://api.github.com/users/rjorgenson/events{/privacy}","received_events_url":"https://api.github.com/users/rjorgenson/received_events","type":"User","site_admin":false},"created_at":"2016-12-02T01:06:26Z","updated_at":"2016-12-02T01:06:26Z","body":"Is there anything in the nginx access/error log files? The access log should indicate that your request is making it to your nginx server and the error log will indicate if your proxy server is unable to reach the host."}}
{"actor":{"display_login":"rjorgenson"}}