Hi. My problem is "path not found" on web.
Enter "to login page" doesnt work and i get similar error
My environment:
OS: Ubuntu 20.04.1 LTS, with 5.4.0-77 kernel, x86-64
Nginx: 1.18.0
Docker: 19.03.8
Docker-compose: 1.29.2
Joplin docker: florider89/joplin-server:master
, released two days ago
Nginx reverse proxy block:
location /joplin/ {
proxy_pass http://localhost:22300;
proxy_redirect off;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Host $server_name;
index index.html index.php index.htm;
}
When i try test server web page on my host, with full domain and CF certs, i get only:
[myhostname]/joplin
Path not found: joplin/
Go to login page
Joplin Server 2.2.7, copyright (C) 2021 Laurent Cozic.
And:
[myhostname]/joplin/login
Path not found: joplin/login
Go to login page
Joplin Server 2.2.7, copyright (C) 2021 Laurent Cozic.
My compose.yml:
services:
db:
image: postgres:13.1
volumes:
- ./data/postgres:/var/lib/postgresql/data
ports:
- "5432:5432"
restart: unless-stopped
environment:
- POSTGRES_PASSWORD=joplin
- POSTGRES_USER=joplin
- POSTGRES_DB=joplin
app:
image: florider89/joplin-server:master
depends_on:
- db
ports:
- "22300:22300"
restart: unless-stopped
environment:
- APP_PORT=22300
- APP_BASE_URL=https://[*myhostname*]/joplin
- DB_CLIENT=pg
- POSTGRES_PASSWORD=joplin
- POSTGRES_DATABASE=joplin
- POSTGRES_USER=joplin
- POSTGRES_PORT=5432
- POSTGRES_HOST=db
If need any other information just tell me, i really want resolve this situation cauz that is intrasting puzzle for me.
Also, nginx reverse proxy above looks like a nice alternative to apache2, what I found in the instructions on this forum.
Thanks for any help
Alex