boypt/simple-torrent

i can't access the page when using nginx for reverse proxy

Yukino16 opened this issue · 4 comments

i reverse proxyed this app with a domain using nginx. i used the latest configuration in the wiki, but neither dedicated domain or shared domain would work.

everything seems to work just fine if i access the app with http://ip:port, but when i try to access it with my domain name, my browser just goes empty after i entered the password, nothing pops out, (however, the web titile does get changed, and there is something in the "Element" in F12)

i can't solve the problem, can you give me some advice?

boypt commented

paste your nginx config and screen capture on F12 "Network" could be helpful

image
image
image
image
image

i barely modified the nginx config except for the nginx listening port, does the ssl matter?

ohhhhhhhh, i got it!
this app must be run with ssl certificate
now i now open it with my domain
thanks!

boypt commented

yes, proxy_pass http://... means nginx only communicate upstream with the http protocol, not https.