Coder Social home page Coder Social logo

Comments (3)

fipwmaqzufheoxq92ebc avatar fipwmaqzufheoxq92ebc commented on July 21, 2024

I think Nginx/Grocy don't know that they are accessed via https, as Apache handles SSL/TLS and only forwards the HTTP-Request. The URLs are then constructed as http://
Your options:

  • Set in your <VirtualHost> : RequestHeader set X-Forwarded-Proto "https" (sets a HTTP-Header which informs Grocy that it is served via https)
    or:
  • Set in grocy.env: GROCY_BASE_URL="https://<Your grocy domain>"

(I would prefer option 1 as it is more flexible (e.g. serving via http and https, or usage of different domains))

from grocy-docker.

lucki1000 avatar lucki1000 commented on July 21, 2024

Thanks, first option works for me.

from grocy-docker.

jayaddison avatar jayaddison commented on July 21, 2024

Thanks @lucki1000 @fipwmaqzufheoxq92ebc, glad to hear that this is solved. Hopefully TLS setup will become simpler in future.

If you have time then you may also be interested in reading grocy/docs#7 relating to making TLS and secure setup for grocy easier. Any feedback and ideas are welcome.

from grocy-docker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.