Comments (8)
maybe we can add
fastcgi_param HTTPS on;
to nginx.conf
I'm not ruling it out, but certainly not adding it yet. That and the `TRUSTED_PROXIES=*" are workarounds, not solutions.
from lychee-docker.
Hoho, I'll check that one.
from lychee-docker.
Now it works correctly after i added
TRUSTED_PROXIES=*
Before it was not working as i was testing it from container ip:port and not the domain it is configured for that is specified in Nginx Proxy Manager.
Now it loads correctly:
The only issue is that i can't access public albums that are password protected (if album is not password protected it works correctly):
from lychee-docker.
You should try the tag 5.0.0 instead.
I don't think nightly has been updated correctly yet.
Can you check your developer console in your browser what is blocking the css and JS ?
That smells like CSP.
In the mean time you can disable the new front-end by setting in your .env
:
LIVEWIRE_ENABLED=false
from lychee-docker.
Thanks for quick reply, i was trying to set up image: lycheeorg/lychee:v5.0.0 and as you suggested LIVEWIRE_ENABLED=false in env but still not working.
Interesting when i try to open it using the direct port for local network bypasing Nginx Proxy Manager looks like it is working but not via nginx proxy manager translation.
This is how it looks when accessing directly via local ip:port :
from lychee-docker.
Looks like i needed to add to my compose yaml file this option:
- TRUSTED_PROXIES=*
Now the page loads correctly but when i wan to open as a not logged user an album that is set to public and password protected i get this:
from lychee-docker.
BTW from the broken thumbnails, it seems that your APP_URL are not set properly or that you have LYCHEE_UPLOAD_URL=
left empty in your .env
.
from lychee-docker.
On some lychee galleries that i host i had to also do fastcgi_param HTTPS on;
in manually /etc/nginx/nginx.conf as suggested here:
LycheeOrg/Lychee#2106 (comment)
Despite already adding TRUSTED_PROXIES=*
in my compose yaml file.
After doing those two things my galleries started working with only the password protected issue that you are working on already.
Hope this info will help and maybe we can add fastcgi_param HTTPS on;
to nginx.conf
from lychee-docker.
Related Issues (20)
- DB Error on upgrade HOT 4
- DB error since update HOT 5
- Document config parameters that are required for reverse HTTPS proxies HOT 1
- brand new site can't see images HOT 15
- Full source code in the docker image HOT 12
- Error 507 NoWriteAccessOnLogsExceptions HOT 10
- Running on subpath with nginx HOT 1
- Any uploaded or 'php artisisan lychee:sync /path/' image is blank and unviewable. HOT 14
- New environment variables not added to environment file HOT 1
- 404 docker-compose.yml on hub.docker.com HOT 1
- Photos won't show up in gallery HOT 11
- SQL Error
- Connection refused HOT 1
- 500 HttpException Attempt to read property "photo_id" on null HOT 2
- Lychee won't work after host reboot HOT 4
- new deploy with installer won't work HOT 14
- Can not update or edit Lychee Permission Denied
- Error 500 clean install SQL migration problem HOT 1
- Lychee container should not modify files outside of mounts HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lychee-docker.