We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
issue: 403 Forbidden nginx/1.12.0 Failed to load resource: the server responded with a status of 403 (Forbidden)
Hi, someone know how deploy this docker hugo version using traefik as proxy? here my file:
docker-compose.yml
version: '2' services: hugo: image: jojomi/hugo:latest volumes: - ./src:/src/ - ./output:/output/ labels: - "traefik.enable=false" command: hugo server --bind 0.0.0.0 environment: - HUGO_BASEURL=mydomain.com restart: always networks: - back web: image: jojomi/nginx-static volumes: - ./output:/var/www environment: - VIRTUAL_HOST=mydomain.com labels: - "traefik.enable=true" - "traefik.backend=mydomain.com" - "traefik.frontend.rule=Host:mydomain.com, www.mydomain.com" - "traefik.docker.network=docker_webgateway" - "traefik.port=80" restart: always networks: - docker_webgateway - back links: - hugo networks: docker_webgateway: external: name: docker_webgateway back: driver: bridge
thanks in advance
The text was updated successfully, but these errors were encountered:
Damn I was also wondering about this thing.
Sorry, something went wrong.
Hi @jujes and @thepenguinthatwants i was able to fix this problem. One important modification was the volumes definition of the nginx. I changed it to /usr/share/nginx/html:ro. You find a link to the docker compose here https://github.com/mgnisia/boilerplate-hugo-traefik/blob/master/docker-compose.yml
/usr/share/nginx/html:ro
I just saw ur reddit post yesterday.
No branches or pull requests
issue: 403 Forbidden nginx/1.12.0
Failed to load resource: the server responded with a status of 403 (Forbidden)
Hi, someone know how deploy this docker hugo version using traefik as proxy?
here my file:
docker-compose.yml
thanks in advance
The text was updated successfully, but these errors were encountered: