Tag : reverse-proxy

Summary I am running a simple docker project with 3 services: backend: An elementary FastAPI BE couchdb: A CouchDB image Traefik: My reverse proxy I am encountering difficulties with reaching my couchdb service via traefik. Setup Here is my docker-compose-yml version: "3.8" networks: some_net: external: false ipam: driver: default services: traefik: container_name: "traefik" image: traefik:latest ..

Read more

Error Logs: flask | 172.19.0.1 – – [06/Apr/2021 02:16:33] "GET / HTTP/1.1" 404 – nginx | nginx: [emerg] duplicate location "/" in /etc/nginx/conf.d/reverse-proxies.conf:33 nginx | nginx: [emerg] duplicate location "/" in /etc/nginx/conf.d/reverse-proxies.conf:33 nginx | nginx: [emerg] duplicate location "/" in /etc/nginx/conf.d/reverse-proxies.conf:33 nginx | nginx: [emerg] duplicate location "/" in /etc/nginx/conf.d/reverse-proxies.conf:33 nginx | nginx: [emerg] host ..

Read more

I host my application behind reverse proxy inside container. I’m using IdentityServer4 and I’m trying to make oidc SSO with Azure AD. It works when the application is not using app.UseForwardedHeaders(opts), but I need them. .NET Core version: 3.1 Forwarded headers configurations: var opts = new ForwardedHeadersOptions { ForwardedHeaders = ForwardedHeaders.XForwardedFor | ForwardedHeaders.XForwardedProto | ForwardedHeaders.XForwardedHost ..

Read more

Consider the following diagram: I have a Debian droplet from Digital Ocean where I need to deploy N Java applications inside individual Docker containers running a Tomcat instance. Each image has the following Dockerfile configuration: FROM tomcat:jdk8-openjdk LABEL maintainer="[email protected]" ADD webapp1.war /usr/local/tomcat/webapps/ #webapp1, webapp2,… webappN EXPOSE 8080 CMD ["catalina.sh", "run"] And is built with: docker ..

Read more