Giter Club home page Giter Club logo

Comments (4)

jmattheis avatar jmattheis commented on May 23, 2024

Try deleting all users and let gotify recreate them. Gotify only uses GOTIFY_DEFAULTUSER_PASS on first start, if it was changed afterwards it won't have an effect.

from server.

SanaRinomi avatar SanaRinomi commented on May 23, 2024

Same result:

image
image

from server.

jmattheis avatar jmattheis commented on May 23, 2024

The 403 error is related to CORS. Do you have use another proxy besides nginx? I can reproduce the issue when I remove the line: proxy_set_header Host $http_host;.

So the issue is that the Host header isn't properly forwarded. You can either try find out why the nginx setting doesn't work propertly or configure your host as allowed origin like this:

    gotify:
        image: gotify/server:2.4.0
        environment:
          - GOTIFY_SERVER_CORS_ALLOWORIGINS=[example.org]
          - GOTIFY_SERVER_STREAM_ALLOWEDORIGINS=[example.org]

from server.

SanaRinomi avatar SanaRinomi commented on May 23, 2024

Ok, setting the CORS to the subdomain I want to run this on worked like a charm! Thank you so much for the help!

EDIT: Just for clarification, the proxy_set_header Host was being set to my specific subdomain, so upon adding that to the CORS, it worked a charm.

from server.

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.