diff --git a/notes.md b/notes.md index 602442b..f792998 100644 --- a/notes.md +++ b/notes.md @@ -1,4 +1,14 @@ +- [find default nginx index.html file with welcome message](https://stackoverflow.com/a/39335059) +/usr/sbin/nginx -> binary file +/usr/lib/nginx -> modules/ empty +/usr/share/nginx -> `http-default_server.conf` -> error 404 +/run/nginx -> `nginx.pid` +/var/log/nginx -> logs +/var/lib/nginx -> folders : html/index.html -> i changed it and it didn't reflect on front +/etc/logrotate.d/nginx -> file for logrogate +/etc/nginx -> classic configs files + #### debug : - `docker exec -ti bash` to run bash inside a running container diff --git a/srcs/docker-compose.yml b/srcs/docker-compose.yml index b4dd91a..a120107 100644 --- a/srcs/docker-compose.yml +++ b/srcs/docker-compose.yml @@ -12,7 +12,7 @@ services: nginx: restart: on-failure networks: - - inception + - local-wp ports: - "${WP_PORT}:443" volumes: @@ -36,7 +36,7 @@ services: restart: on-failure env_file: .env networks: - - inception + - local-wp volumes: - db_volume:${DB_VOLUME_DIR} build: @@ -59,7 +59,7 @@ services: restart: on-failure env_file: .env networks: - - inception + - local-wp volumes: - wp_volume:${WP_VOLUME_DIR} - wp_plugins:${WP_VOLUME_PLUGINS} @@ -105,5 +105,5 @@ volumes: # device: ${HOST_VOLUME_ERROR_LOGS} networks: - inception: + local-wp: