Product
Introducing License Enforcement in Socket
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
This module provides a Django middleware class,
proxiedssl.middleware.ProxiedSslWsgiMiddleware
, that looks for one of two
headers and sets the WSGI URL scheme to the value of the header. This allows a
proxy server that handles SSL to notify the Django WSGI request handler that the
end user is accessing the site through SSL.
Add proxiedssl.middleware.ProxiedSslWsgiMiddleware
to the
MIDDLEWARE_CLASSES
tuple in your settings file. It would be best if it was
first so that the is_secure
method is accurate for the other middleware
classes.
Django and you currently must be using the WSGI handler either through a WSGI server or through the FCGI server which is a wrapper around the WSGI server.
FAQs
Django Middleware for handling proxied ssl
We found that proxiedssl demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
Product
We're launching a new set of license analysis and compliance features for analyzing, managing, and complying with licenses across a range of supported languages and ecosystems.
Product
We're excited to introduce Socket Optimize, a powerful CLI command to secure open source dependencies with tested, optimized package overrides.