Category : http-status-code-404

I am trying to get traefik work with portainer but nothing so far. My goal is to just type http://localhost/portainer and let traefik redirect to portainer portal. So far my docker-compose looks like this: services: reverse-proxy: image: traefik container_name: "traefik" networks: – traefik_net ports: – "80:80" – "8080:8080" volumes: – "/var/run/docker.sock:/var/run/docker.sock" – "./traefik.yml:/traefik.yml:ro" portainer: image: ..

Read more

I have this Dockerfile: FROM tomcat:jdk8-corretto MAINTAINER your_name COPY demo-0.0.1-SNAPSHOT.war /usr/local/tomcat/webapps/ The WAR is a Springboot application with just this controller: @Controller public class HelloController { @GetMapping("/hello") public String sayHello(@RequestParam(value = "name", required = false, defaultValue = "World") String name, Model model) { model.addAttribute("user", name); return "hello"; } } I’ve built the image and ran ..

Read more

I configured proxy reverse with apache 2.4 on a server (ip for example 192.168.1.10) as follows: ProxyRequests Off ProxyVia Off ProxyPreserveHost Off ProxyPass "/foo/" "http://172.20.0.3" ProxyPassReverse "/foo/" "http://172.20.0.3" mod_proxy_html is loaded. Where 172.20.0.3 is a docker container, hosted by the server. When I browse to 192.168.1.10/foo/ I see on the url bar 192.168.1.10/index.php (index.php is ..

Read more

It is very confusing. I have been trying from number of days with all instructions found on stack overflow and web. But nothing is working. $ docker inspect app_flask_1|grep Address "LinkLocalIPv6Address": "", "SecondaryIPAddresses": null, "SecondaryIPv6Addresses": null, "GlobalIPv6Address": "", "IPAddress": "", "MacAddress": "", "IPAddress": "172.20.0.2", "GlobalIPv6Address": "", "MacAddress": "02:42:ac:14:00:02", Dockerfile FROM python:3.8.6 RUN mkdir /app WORKDIR ..

Read more