nginx-proxy-manager + nextcloud:fpm = 502 Bad Gateway
See original GitHub issueI’m using two separate docker-compose files, some with npm and one with nextcloud. I get the npm network to use in the nextcloud, but I have an error when accessing the 502 Bad Gateway nextcloud.
Below my nextcloud docker-compose
version: '3.9'
services:
nextcloud_db:
image: postgres:13
container_name: nextcloud_db
restart: always
volumes:
- ./volumes/db:/var/lib/postgresql/data
env_file:
- db.env
nextcloud:
image: nextcloud:fpm
container_name: nextcloud
restart: always
expose:
- '80'
- '9000'
volumes:
- ./volumes/nextcloud:/var/www/html
environment:
- POSTGRES_HOST=nextcloud_db
env_file:
- db.env
depends_on:
- nextcloud_db
networks:
default:
external:
name: nginxproxymanager_default
My conteiners
Configuration SSL
Issue Analytics
- State:
- Created 3 years ago
- Comments:12
Top Results From Across the Web
Nextcloud Nginx Proxy Manager 502 Bad Getway - ℹ️ Support
Hi everyone,. I'm trying for a long time to get nextcloud working behind a reverse proxy. I have a 502 Bad Getway Error...
Read more >Webserver 502 bad gateway - Dockerized NextCloud, Maria ...
I'm new to docker and nginx reverse proxy, getting my hands dirty in diagnosing errors below. Source youtube I was following: https://www.
Read more >nginx-proxy-manager + nextcloud:fpm = 502 Bad Gateway
I get the npm network to use in the nextcloud, but I have an error when accessing the 502 Bad Gateway nextcloud.
Read more >502 Bad Gateway Error on Nextcloud Docker ... - Stack Overflow
Your nginx proxy config is fine but it won't work because you will need nginx fastcgi_proxy for this to proxy request to a...
Read more >NGINX 502 Bad Gateway: PHP-FPM - Datadog
NGINX will return a 502 Bad Gateway error if it can't successfully proxy a request to PHP-FPM, or if PHP-FPM fails to respond....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
For version 21 it is, for version 20 it is not.
I think you’re confused. It has nothing to do with the image that you are proxying to at all. Its an issue when the app talks to the database, it happens for any docker image you proxy to even if apache is not involved.