Conversation
hectorcanto
requested changes
Nov 16, 2022
Owner
hectorcanto
left a comment
There was a problem hiding this comment.
Comproba os comentarios, seguramente che falta algún cambio no ex1.conf
| exit | ||
| docker stop some-nginx | ||
| docker rm some-nginx | ||
| docker run --name some-nginx -p 8888:80 -d -v /home/cursodocker/dockerexercises/docker_exercises/lesson_4/ex1.conf:/etc/nginx/nginx.conf -v /home/cursodocker/dockerexercises/docker_exercises/lesson_4/src/ex1_web.html:/var/www/index.html nginx:1.22.1 |
Owner
There was a problem hiding this comment.
recorda que podes user $(pwd) para substituír o teu directorio actual. Na maioría dos casos unha ruta relativa vai funcionar. Eu uso ./folder/file.conf co "./" diante para indicar claramente que é unha ruta relativa e diferenciar do nome dun volument (que en casos extremos odería coincidir cun nome de volume)
Owner
There was a problem hiding this comment.
modificaches o ex1.conf? o que hai está sen completar
| ### Part 2 | ||
|
|
||
| ### Part 3 logs | ||
| Pese a que los volumenes parecen bien montados y los archivos efectivamente están donde deberían, no me muestra la página correcta ni a tiros. |
Owner
There was a problem hiding this comment.
revisa o ex1.conf. Tes que modificalo usando o nginx.conf de dentro máis a sección "server" de lesson_4/src/nginx.conf
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
CREO que la he liado con el GIT. La idea era enviar solo la leccion 4