{"action":"reopened","issue":{"url":"https://api.github.com/repos/posativ/isso/issues/571","repository_url":"https://api.github.com/repos/posativ/isso","labels_url":"https://api.github.com/repos/posativ/isso/issues/571/labels{/name}","comments_url":"https://api.github.com/repos/posativ/isso/issues/571/comments","events_url":"https://api.github.com/repos/posativ/isso/issues/571/events","html_url":"https://github.com/posativ/isso/issues/571","id":489642410,"node_id":"MDU6SXNzdWU0ODk2NDI0MTA=","number":571,"title":"Is it normal to get 502 Bad Gateway?","user":{"login":"alston19","id":15274279,"node_id":"MDQ6VXNlcjE1Mjc0Mjc5","avatar_url":"https://avatars3.githubusercontent.com/u/15274279?v=4","gravatar_id":"","url":"https://api.github.com/users/alston19","html_url":"https://github.com/alston19","followers_url":"https://api.github.com/users/alston19/followers","following_url":"https://api.github.com/users/alston19/following{/other_user}","gists_url":"https://api.github.com/users/alston19/gists{/gist_id}","starred_url":"https://api.github.com/users/alston19/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alston19/subscriptions","organizations_url":"https://api.github.com/users/alston19/orgs","repos_url":"https://api.github.com/users/alston19/repos","events_url":"https://api.github.com/users/alston19/events{/privacy}","received_events_url":"https://api.github.com/users/alston19/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2019-09-05T09:39:36Z","updated_at":"2019-09-07T08:31:22Z","closed_at":null,"author_association":"NONE","body":"I'm using wonderful/isso docker image to run isso. Below is my docker-compose.yml and nginx config.\r\n```\r\nversion: '2.0'\r\nservices:\r\n  isso:\r\n    image: wonderfall/isso\r\n    restart: always\r\n    container_name: isso\r\n    volumes:\r\n      - /opt/isso/config:/config\r\n      - /opt/isso/db:/db\r\n    ports:\r\n      - \"10001:8080\"\r\n```\r\n\r\n```\r\nserver {\r\n    listen       80;\r\n    server_name  comments.callmsn.top;\r\n    rewrite ^ https://$http_host$request_uri? permanent;    #强制将http重定向到https\r\n    server_tokens off;\r\n}\r\nserver {\r\n    listen 443;\r\n    server_name comments.callmsn.top;\r\n    location / {\r\n        proxy_pass http://127.0.0.1:10001;\r\n        proxy_set_header Host $host;\r\n        proxy_set_header X-Real-IP $remote_addr;\r\n        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;\r\n        proxy_set_header X-Forwarded-Host $server_name;\r\n        proxy_set_header X-Forwarded-Proto https;\r\n    }\r\n    ssl on;\r\n    ssl_certificate /etc/nginx/ssl/isso/isso.pem;        #pem path\r\n    ssl_certificate_key /etc/nginx/ssl/isso/isso.key;    #key path\r\n\r\n    ssl_session_timeout 5m;\r\n    ssl_session_cache shared:SSL:5m;\r\n\r\n    # Diffie-Hellman parameter for DHE ciphersuites, recommended 2048 bits\r\n    ssl_dhparam /etc/nginx/ssl/dhparam.pem;\r\n\r\n    # secure settings (A+ at SSL Labs ssltest at time of writing)\r\n    # see https://wiki.mozilla.org/Security/Server_Side_TLS#Nginx\r\n    ssl_protocols TLSv1 TLSv1.1 TLSv1.2;\r\n    ssl_ciphers 'ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA:ECDHE-ECDSA-AES256-SHA:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES128-SHA:DHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES256-SHA256:DHE-RSA-AES256-SHA:DHE-RSA-CAMELLIA256-SHA:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-RSA-SEED-SHA:DHE-RSA-CAMELLIA128-SHA:HIGH:!aNULL:!eNULL:!LOW:!3DES:!MD5:!EXP:!PSK:!SRP:!DSS';\r\n    ssl_prefer_server_ciphers on;\r\n}\r\n```\r\n\r\nWhen I `curl http://127.0.0.1:10001` I expeced to get a `404 error` as showed in doc. However, I got a 502 Bad Gateway and couldn't embed isso to my blog.\r\n\r\nHow can I fixed it? Thanks a lot!"}}
{"actor":{"display_login":"alston19"}}