add domains names for django
This commit is contained in:
@@ -7,9 +7,9 @@ nginx_sites = {
|
|||||||
#proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
#proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
#proxy_set_header Proxy "";
|
#proxy_set_header Proxy "";
|
||||||
# EOT
|
# EOT
|
||||||
service = "bitwarden-nginx-svc.bitwarden.svc:8080"
|
service = "bitwarden-nginx-svc.bitwarden.svc:8080"
|
||||||
http2_bool = true
|
http2_bool = true
|
||||||
|
redirect_to_root_domain = false
|
||||||
}
|
}
|
||||||
|
|
||||||
bookstack = {
|
bookstack = {
|
||||||
@@ -19,28 +19,54 @@ nginx_sites = {
|
|||||||
proxy_cache = false
|
proxy_cache = false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
django = {
|
django = {
|
||||||
#service = "webserver.django-python.svc:8000"
|
service = "django-svc.django:8000"
|
||||||
|
proxy_cache = true
|
||||||
|
http2_bool = true
|
||||||
|
|
||||||
|
}
|
||||||
|
admin = {
|
||||||
service = "django-svc.django:8000"
|
service = "django-svc.django:8000"
|
||||||
proxy_cache = true
|
proxy_cache = true
|
||||||
http2_bool = true
|
http2_bool = true
|
||||||
|
|
||||||
}
|
}
|
||||||
redirect = {
|
redirect = {
|
||||||
#enabled = false
|
|
||||||
#main django
|
|
||||||
service = "django-svc.django:8000"
|
|
||||||
#testing django
|
|
||||||
#service = "django-testing-svc.django-testing.svc:8000"
|
|
||||||
proxy_cache = true
|
|
||||||
http2_bool = true
|
|
||||||
geoip_allow = ["FR", "GB", "NL"]
|
|
||||||
|
|
||||||
}
|
|
||||||
reverse = {
|
|
||||||
service = "django-svc.django:8000"
|
service = "django-svc.django:8000"
|
||||||
proxy_cache = true
|
proxy_cache = true
|
||||||
http2_bool = true
|
http2_bool = true
|
||||||
|
|
||||||
|
}
|
||||||
|
streaming = {
|
||||||
|
service = "django-svc.django:8000"
|
||||||
|
proxy_cache = true
|
||||||
|
http2_bool = true
|
||||||
|
|
||||||
|
}
|
||||||
|
stash = {
|
||||||
|
service = "django-svc.django:8000"
|
||||||
|
proxy_cache = true
|
||||||
|
http2_bool = true
|
||||||
|
|
||||||
|
}
|
||||||
|
simpsons = {
|
||||||
|
service = "django-svc.django:8000"
|
||||||
|
proxy_cache = true
|
||||||
|
http2_bool = true
|
||||||
|
|
||||||
|
}
|
||||||
|
kubernetes = {
|
||||||
|
service = "django-svc.django:8000"
|
||||||
|
proxy_cache = true
|
||||||
|
http2_bool = true
|
||||||
|
|
||||||
|
}
|
||||||
|
cloudmanager = {
|
||||||
|
service = "django-svc.django:8000"
|
||||||
|
proxy_cache = true
|
||||||
|
http2_bool = true
|
||||||
|
|
||||||
}
|
}
|
||||||
django-testing = {
|
django-testing = {
|
||||||
service = "django-testing-svc.django-testing.svc:8000"
|
service = "django-testing-svc.django-testing.svc:8000"
|
||||||
@@ -48,13 +74,43 @@ nginx_sites = {
|
|||||||
http2_bool = true
|
http2_bool = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
admin-testing = {
|
||||||
|
service = "django-testing-svc.django-testing.svc:8000"
|
||||||
|
proxy_cache = true
|
||||||
|
http2_bool = true
|
||||||
|
}
|
||||||
|
|
||||||
redirect-testing = {
|
redirect-testing = {
|
||||||
service = "django-testing-svc.django-testing.svc:8000"
|
service = "django-testing-svc.django-testing.svc:8000"
|
||||||
proxy_cache = true
|
proxy_cache = true
|
||||||
http2_bool = true
|
http2_bool = true
|
||||||
}
|
}
|
||||||
|
|
||||||
job-testing = {
|
streaming-testing = {
|
||||||
|
service = "django-testing-svc.django-testing.svc:8000"
|
||||||
|
proxy_cache = true
|
||||||
|
http2_bool = true
|
||||||
|
}
|
||||||
|
|
||||||
|
stash-testing = {
|
||||||
|
service = "django-testing-svc.django-testing.svc:8000"
|
||||||
|
proxy_cache = true
|
||||||
|
http2_bool = true
|
||||||
|
}
|
||||||
|
|
||||||
|
simpsons-testing = {
|
||||||
|
service = "django-testing-svc.django-testing.svc:8000"
|
||||||
|
proxy_cache = true
|
||||||
|
http2_bool = true
|
||||||
|
}
|
||||||
|
|
||||||
|
kubernetes-testing = {
|
||||||
|
service = "django-testing-svc.django-testing.svc:8000"
|
||||||
|
proxy_cache = true
|
||||||
|
http2_bool = true
|
||||||
|
}
|
||||||
|
|
||||||
|
cloudmanager-testing = {
|
||||||
service = "django-testing-svc.django-testing.svc:8000"
|
service = "django-testing-svc.django-testing.svc:8000"
|
||||||
proxy_cache = true
|
proxy_cache = true
|
||||||
http2_bool = true
|
http2_bool = true
|
||||||
@@ -130,7 +186,8 @@ client_max_body_size 20m;
|
|||||||
EOT
|
EOT
|
||||||
}
|
}
|
||||||
nextcloud = {
|
nextcloud = {
|
||||||
service = "webserver.nextcloud.svc"
|
redirect_to_root_domain = false
|
||||||
|
service = "webserver.nextcloud.svc"
|
||||||
#service = "nextcloud-svc.next.svc"
|
#service = "nextcloud-svc.next.svc"
|
||||||
proxy_cache = true
|
proxy_cache = true
|
||||||
http2_bool = true
|
http2_bool = true
|
||||||
@@ -325,8 +382,9 @@ proxy_set_header Connection "upgrade";
|
|||||||
}
|
}
|
||||||
|
|
||||||
gitea = {
|
gitea = {
|
||||||
enabled = true
|
enabled = true
|
||||||
service = "webserver.gitea.svc:3000"
|
service = "webserver.gitea.svc:3000"
|
||||||
|
redirect_to_root_domain = false
|
||||||
}
|
}
|
||||||
|
|
||||||
spider = {
|
spider = {
|
||||||
|
|||||||
Reference in New Issue
Block a user