├── README.md ├── example ├── README.md ├── custom_nginx.tmpl ├── docker-compose.yml ├── my_proxy.conf ├── nginx.conf └── vhost.d │ ├── default │ ├── whoami.A.local │ ├── whoami.B.local │ └── whoami.C.local ├── method_1 ├── api │ ├── Dockerfile │ ├── django_rest_framework_tutorial │ │ ├── __init__.py │ │ ├── settings.py │ │ ├── urls.py │ │ └── wsgi.py │ ├── manage.py │ ├── musics │ │ ├── __init__.py │ │ ├── admin.py │ │ ├── apps.py │ │ ├── models.py │ │ ├── serializers.py │ │ ├── tests.py │ │ └── views.py │ ├── requirements.txt │ ├── uwsgi.ini │ └── uwsgi_params ├── custom_nginx.tmpl ├── docker-compose.yml └── nginx │ ├── Dockerfile │ ├── my_nginx.conf │ ├── nginx.conf │ └── nginx_origin.conf └── method_2 ├── api ├── Dockerfile ├── django_rest_framework_tutorial │ ├── __init__.py │ ├── settings.py │ ├── urls.py │ └── wsgi.py ├── manage.py ├── musics │ ├── __init__.py │ ├── admin.py │ ├── apps.py │ ├── models.py │ ├── serializers.py │ ├── tests.py │ └── views.py ├── requirements.txt ├── uwsgi.ini └── uwsgi_params ├── docker-compose-nginx-proxy.yml ├── docker-compose.yml └── nginx ├── Dockerfile ├── my_nginx.conf ├── nginx.conf └── nginx_origin.conf /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twtrubiks/docker-letsencrypt-django-nginx-proxy-uwsgi-postgres/HEAD/README.md -------------------------------------------------------------------------------- /example/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twtrubiks/docker-letsencrypt-django-nginx-proxy-uwsgi-postgres/HEAD/example/README.md -------------------------------------------------------------------------------- /example/custom_nginx.tmpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twtrubiks/docker-letsencrypt-django-nginx-proxy-uwsgi-postgres/HEAD/example/custom_nginx.tmpl -------------------------------------------------------------------------------- /example/docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twtrubiks/docker-letsencrypt-django-nginx-proxy-uwsgi-postgres/HEAD/example/docker-compose.yml -------------------------------------------------------------------------------- /example/my_proxy.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twtrubiks/docker-letsencrypt-django-nginx-proxy-uwsgi-postgres/HEAD/example/my_proxy.conf -------------------------------------------------------------------------------- /example/nginx.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twtrubiks/docker-letsencrypt-django-nginx-proxy-uwsgi-postgres/HEAD/example/nginx.conf -------------------------------------------------------------------------------- /example/vhost.d/default: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twtrubiks/docker-letsencrypt-django-nginx-proxy-uwsgi-postgres/HEAD/example/vhost.d/default -------------------------------------------------------------------------------- /example/vhost.d/whoami.A.local: -------------------------------------------------------------------------------- 1 | if ($http_user_agent ~* (MJ12bot) ) { 2 | return 444; 3 | } -------------------------------------------------------------------------------- /example/vhost.d/whoami.B.local: -------------------------------------------------------------------------------- 1 | if ($http_user_agent ~* (MJ12bot) ) { 2 | return 410; 3 | } -------------------------------------------------------------------------------- /example/vhost.d/whoami.C.local: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /method_1/api/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twtrubiks/docker-letsencrypt-django-nginx-proxy-uwsgi-postgres/HEAD/method_1/api/Dockerfile -------------------------------------------------------------------------------- /method_1/api/django_rest_framework_tutorial/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /method_1/api/django_rest_framework_tutorial/settings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twtrubiks/docker-letsencrypt-django-nginx-proxy-uwsgi-postgres/HEAD/method_1/api/django_rest_framework_tutorial/settings.py -------------------------------------------------------------------------------- /method_1/api/django_rest_framework_tutorial/urls.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twtrubiks/docker-letsencrypt-django-nginx-proxy-uwsgi-postgres/HEAD/method_1/api/django_rest_framework_tutorial/urls.py -------------------------------------------------------------------------------- /method_1/api/django_rest_framework_tutorial/wsgi.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twtrubiks/docker-letsencrypt-django-nginx-proxy-uwsgi-postgres/HEAD/method_1/api/django_rest_framework_tutorial/wsgi.py -------------------------------------------------------------------------------- /method_1/api/manage.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twtrubiks/docker-letsencrypt-django-nginx-proxy-uwsgi-postgres/HEAD/method_1/api/manage.py -------------------------------------------------------------------------------- /method_1/api/musics/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /method_1/api/musics/admin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twtrubiks/docker-letsencrypt-django-nginx-proxy-uwsgi-postgres/HEAD/method_1/api/musics/admin.py -------------------------------------------------------------------------------- /method_1/api/musics/apps.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twtrubiks/docker-letsencrypt-django-nginx-proxy-uwsgi-postgres/HEAD/method_1/api/musics/apps.py -------------------------------------------------------------------------------- /method_1/api/musics/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twtrubiks/docker-letsencrypt-django-nginx-proxy-uwsgi-postgres/HEAD/method_1/api/musics/models.py -------------------------------------------------------------------------------- /method_1/api/musics/serializers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twtrubiks/docker-letsencrypt-django-nginx-proxy-uwsgi-postgres/HEAD/method_1/api/musics/serializers.py -------------------------------------------------------------------------------- /method_1/api/musics/tests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twtrubiks/docker-letsencrypt-django-nginx-proxy-uwsgi-postgres/HEAD/method_1/api/musics/tests.py -------------------------------------------------------------------------------- /method_1/api/musics/views.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twtrubiks/docker-letsencrypt-django-nginx-proxy-uwsgi-postgres/HEAD/method_1/api/musics/views.py -------------------------------------------------------------------------------- /method_1/api/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twtrubiks/docker-letsencrypt-django-nginx-proxy-uwsgi-postgres/HEAD/method_1/api/requirements.txt -------------------------------------------------------------------------------- /method_1/api/uwsgi.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twtrubiks/docker-letsencrypt-django-nginx-proxy-uwsgi-postgres/HEAD/method_1/api/uwsgi.ini -------------------------------------------------------------------------------- /method_1/api/uwsgi_params: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twtrubiks/docker-letsencrypt-django-nginx-proxy-uwsgi-postgres/HEAD/method_1/api/uwsgi_params -------------------------------------------------------------------------------- /method_1/custom_nginx.tmpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twtrubiks/docker-letsencrypt-django-nginx-proxy-uwsgi-postgres/HEAD/method_1/custom_nginx.tmpl -------------------------------------------------------------------------------- /method_1/docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twtrubiks/docker-letsencrypt-django-nginx-proxy-uwsgi-postgres/HEAD/method_1/docker-compose.yml -------------------------------------------------------------------------------- /method_1/nginx/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twtrubiks/docker-letsencrypt-django-nginx-proxy-uwsgi-postgres/HEAD/method_1/nginx/Dockerfile -------------------------------------------------------------------------------- /method_1/nginx/my_nginx.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twtrubiks/docker-letsencrypt-django-nginx-proxy-uwsgi-postgres/HEAD/method_1/nginx/my_nginx.conf -------------------------------------------------------------------------------- /method_1/nginx/nginx.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twtrubiks/docker-letsencrypt-django-nginx-proxy-uwsgi-postgres/HEAD/method_1/nginx/nginx.conf -------------------------------------------------------------------------------- /method_1/nginx/nginx_origin.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twtrubiks/docker-letsencrypt-django-nginx-proxy-uwsgi-postgres/HEAD/method_1/nginx/nginx_origin.conf -------------------------------------------------------------------------------- /method_2/api/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twtrubiks/docker-letsencrypt-django-nginx-proxy-uwsgi-postgres/HEAD/method_2/api/Dockerfile -------------------------------------------------------------------------------- /method_2/api/django_rest_framework_tutorial/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /method_2/api/django_rest_framework_tutorial/settings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twtrubiks/docker-letsencrypt-django-nginx-proxy-uwsgi-postgres/HEAD/method_2/api/django_rest_framework_tutorial/settings.py -------------------------------------------------------------------------------- /method_2/api/django_rest_framework_tutorial/urls.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twtrubiks/docker-letsencrypt-django-nginx-proxy-uwsgi-postgres/HEAD/method_2/api/django_rest_framework_tutorial/urls.py -------------------------------------------------------------------------------- /method_2/api/django_rest_framework_tutorial/wsgi.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twtrubiks/docker-letsencrypt-django-nginx-proxy-uwsgi-postgres/HEAD/method_2/api/django_rest_framework_tutorial/wsgi.py -------------------------------------------------------------------------------- /method_2/api/manage.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twtrubiks/docker-letsencrypt-django-nginx-proxy-uwsgi-postgres/HEAD/method_2/api/manage.py -------------------------------------------------------------------------------- /method_2/api/musics/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /method_2/api/musics/admin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twtrubiks/docker-letsencrypt-django-nginx-proxy-uwsgi-postgres/HEAD/method_2/api/musics/admin.py -------------------------------------------------------------------------------- /method_2/api/musics/apps.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twtrubiks/docker-letsencrypt-django-nginx-proxy-uwsgi-postgres/HEAD/method_2/api/musics/apps.py -------------------------------------------------------------------------------- /method_2/api/musics/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twtrubiks/docker-letsencrypt-django-nginx-proxy-uwsgi-postgres/HEAD/method_2/api/musics/models.py -------------------------------------------------------------------------------- /method_2/api/musics/serializers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twtrubiks/docker-letsencrypt-django-nginx-proxy-uwsgi-postgres/HEAD/method_2/api/musics/serializers.py -------------------------------------------------------------------------------- /method_2/api/musics/tests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twtrubiks/docker-letsencrypt-django-nginx-proxy-uwsgi-postgres/HEAD/method_2/api/musics/tests.py -------------------------------------------------------------------------------- /method_2/api/musics/views.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twtrubiks/docker-letsencrypt-django-nginx-proxy-uwsgi-postgres/HEAD/method_2/api/musics/views.py -------------------------------------------------------------------------------- /method_2/api/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twtrubiks/docker-letsencrypt-django-nginx-proxy-uwsgi-postgres/HEAD/method_2/api/requirements.txt -------------------------------------------------------------------------------- /method_2/api/uwsgi.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twtrubiks/docker-letsencrypt-django-nginx-proxy-uwsgi-postgres/HEAD/method_2/api/uwsgi.ini -------------------------------------------------------------------------------- /method_2/api/uwsgi_params: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twtrubiks/docker-letsencrypt-django-nginx-proxy-uwsgi-postgres/HEAD/method_2/api/uwsgi_params -------------------------------------------------------------------------------- /method_2/docker-compose-nginx-proxy.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twtrubiks/docker-letsencrypt-django-nginx-proxy-uwsgi-postgres/HEAD/method_2/docker-compose-nginx-proxy.yml -------------------------------------------------------------------------------- /method_2/docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twtrubiks/docker-letsencrypt-django-nginx-proxy-uwsgi-postgres/HEAD/method_2/docker-compose.yml -------------------------------------------------------------------------------- /method_2/nginx/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twtrubiks/docker-letsencrypt-django-nginx-proxy-uwsgi-postgres/HEAD/method_2/nginx/Dockerfile -------------------------------------------------------------------------------- /method_2/nginx/my_nginx.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twtrubiks/docker-letsencrypt-django-nginx-proxy-uwsgi-postgres/HEAD/method_2/nginx/my_nginx.conf -------------------------------------------------------------------------------- /method_2/nginx/nginx.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twtrubiks/docker-letsencrypt-django-nginx-proxy-uwsgi-postgres/HEAD/method_2/nginx/nginx.conf -------------------------------------------------------------------------------- /method_2/nginx/nginx_origin.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twtrubiks/docker-letsencrypt-django-nginx-proxy-uwsgi-postgres/HEAD/method_2/nginx/nginx_origin.conf --------------------------------------------------------------------------------