I mean, if I use docker container (in my case recovery) in Details tab, everything works. When you enter chowapp.site, it throws you to the password recovery page. But if I specify this on the custom locations tab, then when I enter show chowapp/recovery, I have a 404 error. Maybe I'm moving in the wrong direction at all, because this is my first big project.
if I use docker container (in my case recovery) in Details tab, everything works
What do you mean?
you said you got this running. how did you verify it's running? What did you browse to in your browser?
I mean recovery from npm_gateway, where I added docker container which contains html file earlier.
"Name": "npm_gateway",
"Id": "08281cac18ef52c3e017952eda1567c50a09c6d2ed2694b3b7a3dc948fc92682",
"Created": "2023-05-11T14:35:48.217696676+03:00",
"Scope": "local",
"Driver": "bridge",
"EnableIPv6": false,
///
"Containers": "217b1763e5f2717d6c42bde61d71fbadae330e45a5b347943e35068efd82e066": {
"Name": "recovery",
"EndpointID": "35d81b3ef7aec828acadb090ca4a1c84fbe355ec52fe940ccf56553c123a0954",
"MacAddress": "02:42:ac:15:00:02",
"IPv4Address": "172.21.0.2/16",
"IPv6Address": ""
},
"32ccc54dd367f7d479181cf278b4dd7a351f36304a11412e871b1fd30edd0bf6": {
"Name": "npm-app-1",
"EndpointID": "42a6efa66fbb9ce7daa30eba67cca6302ec37d700141f0f68f5f6d5a31f9f1d1",
"MacAddress": "02:42:ac:15:00:03",
"IPv4Address": "172.21.0.3/16",
"IPv6Address": ""
},
"efad25ce4ae75f56ad7cbb1099ab9ce7c55e85491160e410e69c379cf113a60b": {
"Name": "appwrite-traefik",
"EndpointID": "9f306ada0577d375443d23ed6b2fbd12b1c7f4d027889b1baba76db23c6ee0e8",
"MacAddress": "02:42:ac:15:00:04",
"IPv4Address": "172.21.0.4/16",
"IPv6Address": ""
}
},
"Options": {},
"Labels": {
"com.docker.compose.network": "gateway",
"com.docker.compose.project": "npm",
"com.docker.compose.version": "2.15.1"
}
}
you said you browsed to it and it worked...what did you browse to?
Just browsing https://chowapp.site and I got to the needed page
Do you see the recovery page when you browse to this?
How do you see the recovery page?
I just temporarily replaced it to check if recovery works as hostname. Now I have returned everything and the appwrite console returns on request. Previously, it opened as needed.
What exactly did you put in the url without NPM?
How about you try putting recovery/recovery for the hostname?
I can't understand you. Checked through https://chowapp.site/. As forward hostname used recovery with the same protocol and port.
I didn't help.
would you please share a screenshot of your npm config?
Where I can find that?
these
I haven't changed them, they are the same so far.
i asked you to change hte hostname from recovery
to recovery/recovery
would you please share the output of docker inspect recovery
?
is your recovery page blank?
btw, your recovery page doesn't need to be on the same domain as your appwrite instance
It contained a simple form for entering a password and confirmation, but I only noticed that it is empty and the Index OF was written when accessing by IP. Before that, I was restarting the server, perhaps because of this. Anyway thanks for taking the time. It seems to me that I need to completely go through all the stages of creation, because I have recreated and changed a lot of things, and because of this something is probably going wrong.
ya..something is wrong with your recovery page. get that working first and test such that you can access it directly. then put nginx proxy manager in front of it
Recommended threads
- Send Email Verification With REST
I am using REST to create a user on the server side after receiving form data from the client. After the account is successfully created i wanted to send the v...
- Use different email hosts for different ...
Hello, I have 2 projects and i want to be able to set up email templates in the projects. Both projects will have different email host configurations. I see ...
- Get team fail in appwrite function
I try to get team of a user inside appwrite function, but i get this error: `AppwriteException: User (role: guests) missing scope (teams.read)` If i try on cl...