-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Login page bugs #186
Comments
Hey @towerstreet, thanks for reporting this. I can not reproduce this, my log shows
in the code there is a forward in case a user has no read permissions: Lines 522 to 535 in 85b69ea
and a test that covers this: Lines 211 to 224 in 85b69ea
Can you double check with e.g. an icgonito window and navigating to your site? |
I add |
Hmm, I need more insight. Can you please run a
and post the output? e.g.
|
> GET / HTTP/1.1 |
Yes, this confirms what you observe: The nginx throws the 403 directly.
Looks like this to me:
|
|
Hmm, if nothing shows up .. hard so say if the requests reaches the actual nginx/uwsgi and who throws the 403 🤔
When you run just a one shot instance via |
Nginx access.log:
services:
otterwiki:
image: redimp/otterwiki:latest
container_name: wiki
restart: unless-stopped
ports:
- 8888:80
volumes:
- /home/towerstreet/Storage/Docker/Otterwiki/Data:/app-data
environment:
SITE_NAME: Wiki
server {
listen 8843 ssl;
server_name Otterwiki;
ssl_certificate /home/towerstreet/Storage/Cert/cert.pem;
ssl_certificate_key /home/towerstreet/Storage/Cert/key.pem;
location / {
proxy_pass http://localhost:8888;
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-Proto $scheme;
}
} |
|
Can you check if you can reach the non one shot otterwiki directly? The question is: Does it work if you bypass the reverse proxy? |
|
Thanks for the effort .. I'm currently out of ideas what is going wrong. I configured https://dev.otterwiki.com/ to require registered access and it forwards me as it should to I have to set up a test environment where I replicate the set-up with your nginx config as reverse proxy. |
Thanks for all your efforts.👍🏻 |
Version: 2.8.0 (v2.8.0-0-g19167e4)
login page
.The text was updated successfully, but these errors were encountered: