I am not sure what is wrong. I just start to learn docker and I am trying to do a project with a reverse proxy. I am running docker & docker-compose on an RPI 4 at home. However, I am running into a problem after I created and run the docker-compose.yml with the following information: ..
Category : reverse-proxy
I’m trying to configure Traefik to use my own certbot generated certs. Certbot generates them in .pem format with a total of 4 files. I don’t quite know which ones to use with traefik and can’t find anything documented around it online. I’m getting an error like this in the traefik logs: Unable to append ..
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 ..
I am trying to use traefik as an API gateway in my nodeJs based microservices architecture(dockerized). When a request comes in, I want to define a few custom tasks before the request gets forwarded to the microservice. For example, if there is a request which has JWT tokens, the JWT should be decoded and the ..
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 ..
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 ..
All I would like to do is control the top endpoint (MY_ENDPOINT where users will login and pull images. The registry and containers are being hosted (DOCKER_SAAS), so all I need is a seemingly simple redirect. Concretely, where you would normally do: docker login -u … -p … DOCKER_SAAS docker pull DOCKER_SAAS/…/… I would like ..

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 ..
I’ve installed a local Gitlab in a docker solution. Then, in another server I got a nginx reverse proxy. From that reverse proxy, nginx listens 443 and 80 ports and Gitlab works just fine. However, I couldn’t manage to run gitlab container registry from 6060 port. Gitlab is working on let’s just say https://mygitlab.example.com and ..
I have a machine on which a docker container is running a server, listenning on port 12340. Suppose the name of the (real) machine is realname, and there is DNS alias called othername. I want to prevent to access the server via realname.com + redirect HTTP to HTTPS connections. To do this, I’m using (or ..