Coder Social home page Coder Social logo

Comments (3)

aquatix avatar aquatix commented on September 28, 2024

Ah that's an interesting issue.
The problem is, 'ProxyFix' will be removed in werkzeug version 1.0.x (the whole of the werkzeug.contrib package will be gone), and I would like to migrate to the latest werkzeug in the future.

You can also change this in the wsgi python file you use when running the Python application?

Also, does this change the functionality of the application when not behind a proxy?

from digimarks.

mnishig avatar mnishig commented on September 28, 2024

I'm still starting to learn Python lang. I've never use the wsgi python file, but I 'm trying to write.

My code snippet dose not change functionality.
Both, digimarks run right in direct access case and behind R.P.

from digimarks.

mnishig avatar mnishig commented on September 28, 2024

Hello again.

I was check running with uwsgi under python3 + venv.
This is running with small patch on wsgi.py.
and Digimarks run correctly behind reverse proxy

line 6 - 8 is comment out:

# Python3
# with open(activate_this) as file_:
#    exec(file_.read(), dict(__file__=activate_this))


and start digimarrks as bellow:

$ source venvdir/bin/activate
$ uwsgi --ini uwsgi.ini:digimarks

from digimarks.

Related Issues (12)

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.