0
I am working on a Web system and using the Docker with Nginx. Nginx is not recognizing the images that compose the system nor the files that compose the Bootstrap.
Below is the default file for Nginx:
server {
listen 80;
root /usr/share/nginx/html;
index index.php index.html index.html;
server_name 192.168.0.18;
location / {
try_files $uri /index.php$is_args$args;
}
location ~ \.php$ {
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_pass phpfpm:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}
}

Are files loaded? Are they interpreted by the browser? Error 404 occurs? The address of the files is being pointed out correctly?
– Valdeir Psr
Vadeir Psr, no error 404 occurs, browser is unable to interpret and are pointed correctly in HTML.
– Jack
utilize
try_files $uri $uri/ /index.php$is_args$args;and include the archivemime.typesin its configuration, for example:include /etc/nginx/mime.types;– Valdeir Psr
How you created the container?
– Luiz Carlos Faria