Category : nginx

I have a problem with my docker configuration, my home page on localhost return always 502 Bad Gateway. Here you can see the architecture of the projet : https://i.stack.imgur.com/Bfc24.png And this is the content of file. docker-compose.yml : version: ‘3’ services: php: build: context: ./php ports: – "9000:9000" volumes: – ../symfony:/var/www nginx: container_name: "nginx" build: ..

Read more

I’m running Nginx , PHP and mysql containers and they all run but i keep on getting this Welcome to nginx! page. This is my nginx.conf file: server { listen 80; index index.php index.html; server_name localhost; root /var/www/html/public; location / { try_files $uri $uri/ /index.php?$query_string; } location ~ .php$ { try_files $uri =404; fastcgi_split_path_info ^(.+.php)(/.+)$; ..

Read more

Following through the tutorial https://www.digitalocean.com/community/tutorials/how-to-install-and-secure-phpmyadmin-with-nginx-on-an-ubuntu-20-04-server I was able to install phpmyadmin on subdirectory. But with same configuration set that digital ocean provide. I want Install phpmyadmin on subdomain of nignx Web server. Can anyone tell me the exact configuration based on the above tutorial. Source: ..

Read more