Open Zieng opened 2 days ago
In all likelihood this is a configuration matter involving your reverse proxy configuration and/or your overwritehost
config value:
https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/config_sample_php_parameters.html#overwritehost https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/reverse_proxy_configuration.html#overwrite-parameters
And, depending on the nature of the reverse proxy setup, there may also be some errors/warnings under Administration settings->overview.
⚠️ Before posting ⚠️
Steps to reproduce
Background
My ISP does provide me with public ip and does not allow me to use port 80 and port 443, so I need to enable port forwarding to make nextcloud work. I will forward the port 16443 to 443 port of my machine.
I have bound the domain name
my_domain_name.com
to the ip of my router.How to produce
https://my_domain_name.com:16443
, and confirm.From the error page, I can see it's connecting using
https://my_domain_name.com/login
instead ofhttps://my_domain_name.com:16443/login
, so it can't reach my sever, and failed to login.Expected behaviour
I expect the nextcloud can use the correct domain name with port
Actual behaviour
The nextcloud drops the port and only use the domain name.
Android version
Android 15
Device brand and model
One Plus 13
Stock or custom OS?
Custom (explain in "additional information")
Nextcloud android app version
3.29.2
Nextcloud server version
29.0.8.1
Using a reverse proxy?
Yes
Android logs
No response
Server error logs
Additional information
No response