Your comments

Yes, but sadly it still didn't work. With this config that I have listed below, it gives me a 502 Bad Gateway error, and I can't fix it.

location /library {

proxy_pass https://127.0.0.1:2022;

proxy_set_header Host $host;

}

When I start up Ubooquity, my --host option is set to 5.196.70.4 . When I use the config below, I can get some of the page to come through to /library but it is just links, the JS and CSS is not getting through. Chrome's Console gave me this:


Failed to load resource: the server responded with a status of 404 (Not Found)

https://mei-mei.pw/scripts/tools.js Failed to load resource: the server responded with a status of 404 (Not Found)

https://mei-mei.pw/theme/homepage.css Failed to load resource: the server responded with a status of 404 (Not Found)


The other nginx config is:


location /library {

proxy_pass https://5.196.70.4:2022;

proxy_set_header Host $host;

}

When I try http: it doesn't work at all.


https://mei-mei.pw/library

https://mei-mei.pw:2022