• Welcome to the Chevereto user community!

    Here users from all over the world gather around to learn the latest about Chevereto and contribute with ideas to improve the software.

    Please keep in mind:

    • 😌 This community is user driven. Be polite with other users.
    • 👉 Is required to purchase a Chevereto license to participate in this community (doesn't apply to Pre-sales).
    • 💸 Purchase a Pro Subscription to get access to active software support and faster ticket response times.

SSL issue at storage

Status
Not open for further replies.

bee

💖 Chevereto Fan
Hi,
I found something strange - but not sure, if it's a problem of Chevereto or not.

I use external storages and access them through SSH. At the storage servers runs Nginx with SSL.

Today I've imrove some settings to the Nginx config:

Code:
server {
  listen 443 ssl http2;
  listen [::]:443 ssl http2;
  ssl_certificate     /etc/xxxxxxxxxxxxx/fullchain.pem;
  ssl_certificate_key /etc/xxxxxxxxxxxxx/privkey.pem;
  ssl_session_cache shared:SSL:20m;
  ssl_session_timeout 60m;
  ssl_prefer_server_ciphers on;
  ssl_ciphers ECDH+AESGCM:ECDH+AES256:ECDH+AES128:DH+3DES:!ADH:!AECDH:!MD5;
  ssl_dhparam /etc/nginx/cert/dhparam.pem;
  ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
  add_header Strict-Transport-Security "max-age=31536000" always;
  server_name s1.fr.storage.photocase.at;
  access_log /xxxxxxxxxxxxx/xxxxxxxxxxxxx/access.log;
  error_log /xxxxxxxxxxxxx/xxxxxxxxxxxxx/error.log;
  location / {
    expires 90d;
    root /xxxxxxxxxxxxx/xxxxxxxxxxxxx/xxxxxxxxxxxxx/;
  }
}

After reload Nginx I check my site and see, that the preview photos are visible. Then I click on one photo to get the large version - but then I get an 404error.

When I open the directlink in the browser, I can see the large photo.

Then I change my Nginx config again an add

Code:
listen 80;

at the top of the config.
After the reload of Nginx: Voila - 404error is gone and the photo is visible.


So, when I use only SSL and Port 443 I must listen to Port 80 also, to see photos on Chevereto?


Regards
Torsten
 
If you use https you have to change the storage settings to reflect https. By default http listen on port 80 and https on 443
 
Now I remember, you need both http and https for Chevereto.
 
Status
Not open for further replies.
Back
Top