Olá, estou montando um projeto com laravel e utilizando docker, nginx e etc… Quando entro na rota ‘/’ o redirecionamento é feito de forma normal, porém quando tendo entrar em qualquer outro tipo de rota ‘/alunos’, por exemplo, o docker me retorna esse erro. Alguém tem ideia de como resolver? 2021/10/28 17:36:34 [error] 23#23: *8 ..
Each time I try to create a docker-machine in Powershell using docker-machine create -d nginx with nginx installed it returns a message of Driver "nginx" not found. Do you have the plugin binary "docker-machine-driver-nginx" accessible in your PATH? which I cannot find the plugin or any solutions online to fix this error. Source: Docker..
I’m trying to follow this, but I’m finding some issues. My folder structure is a follows: — project — config/nginx/conf.d — www — server — settings.py, wsgi.py, etc. — Dockerfile — manage.py — requirements.txt — docker-compose.yml — Dockerfile The most relevant files are as follows: Dockerfile FROM python:3 # Make the Python output not buffered; logs will show in real ..
I am trying to run a UI application with Docker using nginx image I am able to access the service on port 80 without any problem but whenever I am trying access it via https on 443 port I am not able to access the applications the site keeps loading and eventually results in not ..
Since a few days I am trying to deploy my next.js site with strapi as api in a dockerized environment. So far I already found out that my frontend is not able to use the "normal" DNS and therefore will resolve the api url to the internal docker ip. This is no problems at frist, ..
I’d like to find out what is haunting my dockerized Django, Postgres, Gunicorn, Nginx project. `/etc/nginx/html/index.html" is not found` nginx | 2021/10/27 15:40:34 [error] 22#22: *2 "/etc/nginx/html/index.html" is not found (2: No such file or directory), client: 172.29.0.1, server: , request: "GET / HTTP/1.1", host: "0.0.0.0:8000" nginx | 172.29.0.1 – – [27/Oct/2021:15:40:34 +0000] "GET / ..
I have the following Dockerfile: FROM nginx:latest RUN apt-get update && apt-get -y install openssl && apt-get -y install vim RUN mkdir -p /etc/nginx/snippets RUN mkdir -p /etc/openssl RUN openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/openssl/nginx-selfsigned.key -out /etc/openssl/nginx-selfsigned.crt -subj "/C=US/ST=NY/L=NY/O=ACME/OU=CD/CN=AcmeWPDeveloper" I don’t get an errors but when I log into the container, ..
I currently have a deployed application. https://dostoevsky.rest/ It works well with Nginx and Docker. However, I want to get a JSON when I hit the endpoint https://dostoevsky.rest/api/rand with a subdomain. So, I want the subdomain api.dostoevsky.rest to redirect https://dostoevsky.rest/api/rand. I thought I could configure Nginx as a reverse proxy, so I did the following: server ..
Please assist I’m trying to run both react.js and nest.js on http://localhost:3000 with docker-compose and Nginx, however my react.js app isn’t binding correctly. When I visit the link, I only see the nginx welcome page. This is my docker-compose.yaml version: "3.6" services: database: image: postgres:13.1-alpine env_file: – ./database/.env volumes: – "db-data:/var/lib/postgresql/data" networks: – challenge ports: ..
I try to start a project where I need to configure Docker to run Perl CGI files with nginx. Now I have this docker-compose.yml file: version: "3" services: httpd: image: ‘nginx:stable-alpine-perl’ ports: – ’80:80′ volumes: – ./:/var/www/html – ./.docker-config/nginx/nginx.conf:/etc/nginx/conf.d/default.conf:ro depends_on: # – perl – mysql command: [nginx-debug, ‘-g’, ‘daemon off;’] mysql: image: mysql:5.7 env_file: – ..