fix: add TLS proto forwarding and, imprint and privacy policy
This commit is contained in:
parent
1fa8d1a7a3
commit
16a5848ab3
@ -29,10 +29,8 @@ ALLOWED_HOSTS = [ '*' ]
|
|||||||
|
|
||||||
# Force HttpRequest.build_absolute_uri() to generate HTTPS links in production
|
# Force HttpRequest.build_absolute_uri() to generate HTTPS links in production
|
||||||
# This is necessary when running behind a reverse proxy
|
# This is necessary when running behind a reverse proxy
|
||||||
#USE_X_FORWARDED_HOST = False if DEBUG else True
|
USE_X_FORWARDED_HOST = False if DEBUG else True
|
||||||
#SECURE_PROXY_SSL_HEADER = () if DEBUG else ('HTTP_X_FORWARDED_PROTO', 'https')
|
SECURE_PROXY_SSL_HEADER = () if DEBUG else ('HTTP_X_FORWARDED_PROTO', 'https')
|
||||||
USE_X_FORWARDED_HOST = True
|
|
||||||
SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')
|
|
||||||
|
|
||||||
|
|
||||||
# Application definition
|
# Application definition
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
<div class="flex gap-4 justify-center items-center p-2 bg-primary-100 text-sm text-background">
|
<div class="flex gap-4 justify-center items-center p-2 bg-primary-100 text-sm text-background">
|
||||||
<p>© 2023 Julian Lobbes</p>
|
<p>© 2023 Julian Lobbes</p>
|
||||||
|
<a href="https://lobbes.dev/imprint">Imprint</a>
|
||||||
|
<a href="https://lobbes.dev/privacy-policy">Privacy Policy</a>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user