Category : webserver

I need help, I tried it a long time but I didn’t manage to setup Nginx with Traefik. Docker-compose: services: traefik: image: traefik:latest container_name: traefik restart: unless-stopped security_opt: – no-new-privileges:true networks: – proxy ports: – 80:80 – 443:443 volumes: – /etc/localtime:/etc/localtime:ro – /var/run/docker.sock:/var/run/docker.sock:ro – ./data/traefik.yml:/traefik.yml:ro – ./data/acme.json:/acme.json labels: – "traefik.enable=true" – "traefik.http.routers.traefik.entrypoints=http" – "traefik.http.routers.traefik.rule=Host(`blockworldhd.net`)" – ..

Read more

I don’t have any idea how nginx configs work, but I have this pulled from another project i’ve been working on, and that one is able to load CSS and JS without a hitch. This questions does get asked a lot, but it’s hard to grasp from my particular case what I need to do ..

Read more

I have created a new folder and copy my index html from that image. The image looks like this FROM centos:latest RUN yum update -y RUN yum install httpd -y RUN mkdir -p /var/www/html/gci/ COPY ./public-html/ /var/www/html/gci/ ENTRYPOINT ["/usr/sbin/httpd","-D","FOREGROUND"] However this defaults to serving from /var/www/html/ and not from /var/www/html/gci Without this new folder, it ..

Read more