vicalloy / outline-docker-compose

Install a self-hosted Outline wiki instance in a couple of minutes
BSD 3-Clause "New" or "Revised" License
727 stars 118 forks source link

使用nginx proxy manager 反代后页面空白 #74

Open wangweitung opened 6 months ago

wangweitung commented 6 months ago

使用http://abc.com:8081访问正常。

使用nginx proxy manager 反代,想用https://outline.bcd.com访问,页面空白,这个要怎么设置下?求教。。

lynliam commented 5 months ago

我也遇到这个问题

lynliam commented 5 months ago

原因应该是因为混合http与https内容,但我也无法解决

wangweitung commented 5 months ago

原因应该是因为混合http与https内容,但我也无法解决

哈哈,原来不止我一个,看样子只能http://abc.com:8081 访问了

ID404 commented 5 months ago

修改config.sh配置 URL=https://ac.com 然后再make restart

wangweitung commented 5 months ago

修改config.sh配置 URL=https://ac.com 然后再make restart

感谢提示。

试过这种方式了,打开后,还是空白页。

修改后重新删除配置,就可以了。

sudo make stop

sudo make  clean

sudo make install

然后就可以用nginx proxy manager 反代https访问了。感谢~👍

bolavefasfas commented 1 month ago

Modify config.sh configuration URL = https://ac.com and then make restart

Thanks for the tip.

~I tried this method, but after opening it, the page is still blank.~

Just delete the configuration again after modifying it.

sudo make stop

sudo make  clean

sudo make install

Then you can use nginx proxy manager to reverse https access. Thanks~👍

Tried does not work can anyone else confirm

CGG888 commented 3 weeks ago

This setting can basically solve the problem, and most reverse proxy servers should be able to do it! URL=https://my_url:8888 HTTP_IP=0.0.0.0

Use lucky for reverse proxy, and the local external network can access it normally! The URL must contain https://, otherwise it will not succeed. https:// is the domain name you need to bind! Set the corresponding port of outline nginx for reverse proxy! You can create an extra user in outline, delete one of them before stopping, and do not need to run the clean command. When you install again, add the user just now! Avoid adding too many accounts to the database

sudo make stop

sudo make install

If the reverse generation is not the same port, you need to add 2 rules, https://my_url:8888 192.168.x.x:8888 https://my_url:443 192.168.x.x:8888

Only in this way can the access to port 443 be normal. If you access port 8888, just set the first forwarding!

CGG888 commented 3 weeks ago

4 3 2 1