Skip to content

Commit

Permalink
Update installation.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
aleksihakli committed Dec 5, 2022
1 parent 2d8727b commit f307571
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ context processor:
WSGI + Nginx
#####
############

1. Add **SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')** to your settings.py
2. Add **proxy_set_header X-Forwarded-Proto $scheme;** to your Nginx site config file.
1. Add ``SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')`` to your settings.py
2. Add ``proxy_set_header X-Forwarded-Proto $scheme;`` to your Nginx site config file.

This will set request.is_secure() equal to true when it is checked by embed_video_tags.py, for more information reffer `here <https://github.com/jazzband/django-embed-video/issues/172#issuecomment-1335895642>`_.
This will set ``request.is_secure()`` equal to true when it is checked by ``embed_video_tags.py``, for more information reffer `here <https://github.com/jazzband/django-embed-video/issues/172#issuecomment-1335895642>`_.

0 comments on commit f307571

Please sign in to comment.