Giter Site home page Giter Site logo

Comments (5)

kiarn avatar kiarn commented on May 28, 2024

Hello @GOUKOU007

Ajenti tests the origin of the request to ensure the request is valid. I think in your case it's necessary to complete the trusted_domains parameter with the extern domain in the config file : http://docs.ajenti.org/en/latest/man/config.html#other-global-parameters

I hope it helps

Arnaud

from ajenti.

GOKORURI007 avatar GOKORURI007 commented on May 28, 2024

Thank you for your reply but the resolution do not work for me.
I have tried to add my domain into trusted_domains by these way:

trusted_domains: [www.example.com]
trusted_domains: ["www.example.com"]
trusted_domains: [http://www.example.com]

Unfortunately, none of them helps me login into ajenti by HTTPS. However, if I use HTTP with my domain just like http://www.example.com:8000, I can login into ajenti correctly. So I guess that maybe not a trusted_domains problem.

from ajenti.

kiarn avatar kiarn commented on May 28, 2024

I think you need to specify https protocol for this, because you reach your site with the external url https://www.example.com and not http://www.example.com.
I forgot to say this, but I'm sure you already know it, it's necessary to restart Ajenti in order to use the new values.

from ajenti.

GOKORURI007 avatar GOKORURI007 commented on May 28, 2024

Thank you! It works well now!

from ajenti.

kiarn avatar kiarn commented on May 28, 2024

Ok, thank you for the feedback !

from ajenti.

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.