mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-26 19:44:00 +03:00
Traefik - Also redirect wwww. to service.
This commit is contained in:
parent
83f52c7933
commit
0df3087d3d
|
@ -200,6 +200,7 @@ Listed in alphabetical order.
|
||||||
Sascha `@saschalalala`_ @saschalalala
|
Sascha `@saschalalala`_ @saschalalala
|
||||||
Shupeyko Nikita `@webyneter`_
|
Shupeyko Nikita `@webyneter`_
|
||||||
Sławek Ehlert `@slafs`_
|
Sławek Ehlert `@slafs`_
|
||||||
|
Sorasful `@sorasful`_
|
||||||
Srinivas Nyayapati `@shireenrao`_
|
Srinivas Nyayapati `@shireenrao`_
|
||||||
stepmr `@stepmr`_
|
stepmr `@stepmr`_
|
||||||
Steve Steiner `@ssteinerX`_
|
Steve Steiner `@ssteinerX`_
|
||||||
|
@ -372,6 +373,7 @@ Listed in alphabetical order.
|
||||||
.. _@siauPatrick: https://github.com/siauPatrick
|
.. _@siauPatrick: https://github.com/siauPatrick
|
||||||
.. _@sladinji: https://github.com/sladinji
|
.. _@sladinji: https://github.com/sladinji
|
||||||
.. _@slafs: https://github.com/slafs
|
.. _@slafs: https://github.com/slafs
|
||||||
|
.. _@sorasful:: https://github.com/sorasful
|
||||||
.. _@ssteinerX: https://github.com/ssteinerx
|
.. _@ssteinerX: https://github.com/ssteinerx
|
||||||
.. _@step21: https://github.com/step21
|
.. _@step21: https://github.com/step21
|
||||||
.. _@stepmr: https://github.com/stepmr
|
.. _@stepmr: https://github.com/stepmr
|
||||||
|
|
|
@ -28,7 +28,7 @@ certificatesResolvers:
|
||||||
http:
|
http:
|
||||||
routers:
|
routers:
|
||||||
web-router:
|
web-router:
|
||||||
rule: "Host(`{{ cookiecutter.domain_name }}`)"
|
rule: "Host(`{{ cookiecutter.domain_name }}`) || Host(`www.{{ cookiecutter.domain_name }}`)"
|
||||||
entryPoints:
|
entryPoints:
|
||||||
- web
|
- web
|
||||||
middlewares:
|
middlewares:
|
||||||
|
@ -37,7 +37,7 @@ http:
|
||||||
service: django
|
service: django
|
||||||
|
|
||||||
web-secure-router:
|
web-secure-router:
|
||||||
rule: "Host(`{{ cookiecutter.domain_name }}`)"
|
rule: "Host(`{{ cookiecutter.domain_name }}`) || Host(`www.{{ cookiecutter.domain_name }}`)"
|
||||||
entryPoints:
|
entryPoints:
|
||||||
- web-secure
|
- web-secure
|
||||||
middlewares:
|
middlewares:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user