All Questions
567
questions
0
votes
0
answers
22
views
Inquiry regarding Security considerations for Nginx Docker image
My name is Ramyashree, and I am currently exploring the usage of the Nginx Docker image within our project. I am reaching out to seek more information about the security considerations and best ...
0
votes
1
answer
30
views
How to serve static files for Docker Nextcloud-fpm behing nginx reverse proxy?
I have a similar problem to NextCloud FPM Docker Image behind an NGinX Docker Container as Proxy Reverse
I have multiple web apps running in Docker containers behing a Nginx reverse-proxy.
I'm trying ...
1
vote
1
answer
39
views
What's wrong in this nginx (dockerized) configuration in order to reverse-proxy to my local apps?
My goal is to use an nginx container to reverse-proxy specific paths to my application(s) running in my vps. I've successfully done it by setting up a nginx container manually, but not when using ...
0
votes
1
answer
99
views
only allow traffic from one FQDN
I have a docker container running a Flask app and then frontending it with an Nginx proxy. The Nginx container is running on port 80 and then I am using an HAProxy for SSL offloading. This setup ...
1
vote
2
answers
96
views
Implement subdomain with port 8080
I have a VPS, on that VPS there is an existing application that is live with Docker port 80. There are two applications that I want to deploy on that VPS, the first application is a Laravel backend ...
-1
votes
1
answer
82
views
Letsencrypt is generating self signed certificate, not wanted
I'm struggling with generating certificates for my nginx proxy on Docker.
I've designed the docker-compose in the following way:
version: "3"
services:
postgres-db:
image: postgres:15....
0
votes
1
answer
50
views
NGINX reverse proxy not working as expected
I'm trying to deploy an app through docker containers and reverse proxy it to my destination endpoint.
My docker compose file looks like this:
version: '3.4'
services:
monitor.api:
image: ${...
0
votes
1
answer
63
views
poor docker / nginx throughput when running with bridge network on ubuntu
My nginx configuration seems to offer extremely poor performance through a docker network, while the host machine (a dedicated server) has great specs (104 threads, 245gb DDR4, SSD).
When benchmarking ...
0
votes
0
answers
87
views
why is docker not responding to apache2 port 443 proxpass but fine on port 80?
I have an Azure VM which has an apache2 running with the following configuration,
<VirtualHost *:80>
ServerName .com
ProxyRequests On
ProxyPass / http://127.0.0.1:...
0
votes
1
answer
191
views
Renew conf/cert without stop/start nginx docker container
I did implement a docker container with nginx, and can successfully renew SSL certificates with certbot. They are separated containers generated with the codes below.
They have an external folder to ...
0
votes
0
answers
109
views
Cant connect a QNAP NAS and other services through NGINX
I run my QNAP NAS on this link
-> http://192.168.0.98:8085/cgi-bin/
And the other service is this case is Jellyfin on this link
-> http://192.168.0.98:45081
My NGINX config looks like this:
...
0
votes
0
answers
53
views
How do I remove a prefix from an NGINX proxy_pass (rewrite doesn't seem to work)?
I have the following...
version: '2'
services:
main-nginx:
image: nginx:latest
container_name: nginx
volumes:
- ./nginx/nginx.conf:/etc/nginx/conf.d/default.conf
- ./nginx/...
0
votes
2
answers
137
views
Nginx try_files succeeds on deleted files, then nginx reports error with open()
I have this weird error that is happening where try_files directive successfully finds a file that was just deleted, then nginx proceeds to open the file and returns an error.
I am using a standard ...
0
votes
0
answers
145
views
Keycloak is automatically changing certificate
I'm using Keycloak Quay 22.0.3 with docker-compose behind a Nginx reverse proxy but I have some troubles due an automatic replace of my certificate generated with certbot.
My certificate generated ...
0
votes
0
answers
149
views
inside nginx custom docker image, cron service is running but not the jobs executing
Dockerfile of nginx container
FROM nginx:latest
# Remove sym links from nginx image
RUN rm /var/log/nginx/access.log
RUN rm /var/log/nginx/error.log
RUN apt-get update && apt-get install -y ...
0
votes
0
answers
263
views
Dockerized Nginx Reverse Proxy - Real IP
I have following problem. I have a docker compose setup which spins up a frontend service using Nuxt3 and a backend API based on golang.This two containers are exposed via an Nginx reverse proxy ...
0
votes
1
answer
372
views
nginx-proxy always returning 301 Moved Permanently
I'm following the example docker compose for an nginx-proxy, but it always returns a 301 Moved Permanently error. I'm using docker hosted in Ubuntu 22.04.
my docker-compose.yml file
version: '2'
...
0
votes
0
answers
165
views
One nginx config for both local dev and production
I have a website with the following architecture:
Many services running as part of a docker stack
Fronted by single nginx as reverse proxy
nginx does HTTPS termination with certbot
Developed locally ...
0
votes
1
answer
295
views
Source site static resources are not loaded correctly after setting up a reverse proxy with Nginx Proxy Manager
I created the Nginx Proxy Manager container and the Wordpress container using Docker. But when I set up the reverse proxy for the Wordpress container as usual (not Wordpress), I realized that Nginx is ...
0
votes
0
answers
87
views
Exposing ports on VPS
I'm running some services inside Docker and been having some issues with it: I have a NodeJS app (TLS stream communication) running on a custom port (let's say 2321). I exposed the port from my ...
0
votes
1
answer
231
views
Laravel, nginx, Docker, PHP - Load Test, Very Unsatisfactory Results
We are creating two servers in Hetzner (https://www.hetzner.com/cloud).
Parmeters of both:
CPX51 - vCPU 16 AMD, RAM 32 GB.
On one server with Ubuntu 22.04 we install Docker and run the PHP application ...
0
votes
0
answers
62
views
Bad Gateway error on one Docker container under NGINX
I'm newbie about NGINX, I'm trying to put two services inside the same Docker Container. Every services has his domain.
I found this answer that solve my problem but there is another problem that I'm ...
0
votes
1
answer
401
views
Setting up nginx as proxy between webservice docker containers
I'm trying to set up a server to host a specific web application. I have registered a domain (lets say example.org) made a vps via digitalocean and set the DNS for example.org to point to it, so if I ...
0
votes
0
answers
110
views
Cannot reach domain defined by server_name
I'm trying to map my backend server at http://api:4000 to my-domain.site, where api is the name of my backend service in docker compose.
I run docker compose up and everything works fine, but I can ...
0
votes
1
answer
157
views
Fastcgi script "file not found" / Primary script unknown
ACTUAL SITUATION
I am in the process of transferring a static web server to a container.
ISSUE ENCOUNTERED
When i'm trying to reach my server, i received "File not found" with :
curl ...
1
vote
1
answer
420
views
Access docker compose containers from host NGINX via reverse proxy
I am facing this issues I am not able to solve by anything I´ve found on this site or anywhere else.
Lets assume I have a domain and Debian server with NGINX installed on it as main gateway for web ...
0
votes
0
answers
71
views
Docker swarm bind port to all host interface
Host machine have next network interface:
docker0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255
ether 02:42:b5:1e:...
0
votes
1
answer
1k
views
Nginx configuration in OpenShift
I have been struggling with a solution to have nginx running, in OpenShift there is no use of root user during creation of the containers. Then, I was getting the following error:
2023/06/21 10:37:45 [...
1
vote
2
answers
3k
views
What's the right way to configure Nginx for MinIO server running as a docker service
I am just trying to proxy pass from Nginx to Docker Minio service; however, with my current nginx config file, it's not working as expected and keeps loading when I browse any Minio buckets from the ...
0
votes
0
answers
174
views
Docker and Nginx Reverse Proxy Best Practices
I recently found out some basic security stuff I could implement to ensure that my VPS's are safer. I have tried to implement these but I have run into some problems. I do not know what my next steps ...
0
votes
0
answers
111
views
Do I need to use an Nginx reverse proxy between AWS Application Load Balancer and Gunicorn running in Fargate?
I have a Django backend application running with Gunicorn inside a Docker container in Fargate.
Since I'm not serving any static files from the Django server (they are being served via Cloudfront) do ...
0
votes
0
answers
42
views
Best practices for running several docker containers on one machine
I have recently built a physical server, this is a first for me as I've previously been using VPS's and other cloud-based solutions. I'm currently planning on hosting a few containers on this server:
...
1
vote
0
answers
87
views
Trouble to understand how networking works on nomad
Can someone explain why I can't access my website running in a docker container thru nomad or what I'm doing wrong ? I'm beginner in system and networking.
I would like to make the container http ...
0
votes
0
answers
184
views
(111: Connection refused) while connecting to upstream nginx with docker
I am trying to dockerizing a angular universal app using nginx, and it's giving me really hard time.
I have looked everywhere and haven't found a solution.
Dockerfile
FROM node:14-alpine AS builder
...
2
votes
1
answer
1k
views
Ngnix Reverse Proxy Setup SSL For Localhost In Docker
Using below docker compose.yml I am creating 2 containers and a reverse proxy container..
version: '3'
services:
# SSGTM Tag Server Container
tagging_server_container:
image: gcr.io/cloud-...
0
votes
2
answers
45
views
Nginx strange upstream address after app restart
I have an application running in a container with an exposed port 8082. There is also an nginx configuration, part of which is shown below. In a normal situation, I see upstream: 127.0.0.1:8082 in the ...
0
votes
0
answers
875
views
docker registry behind nginx reverse proxy with authentication and ssl
I'm trying to push images remotely to my private docker registry, which fails like this:
$ podman push sub.example.com:5000/dummyimg sub.example.com:5000/rem/dummyimg
Getting image source signatures
...
1
vote
1
answer
320
views
Two PHP sites under Docker + nginx cant communicate with each other
I am using Docker + NGINX to host two PHP sites. The sites are accessible from the outside but the problem arises when I try to access one site from another using cURL or file_get_contents.
The ...
0
votes
0
answers
102
views
Mixed content error nginx+docker container
I have an EC2 with Nginx setup & there are a few containers running inside. There's a Node JS gateway which is serving some of the requests in a webpage hosting in this Nginx server. Nginx is not ...
0
votes
0
answers
1k
views
Auto renew LetsEncrypt cert with nginx under Docker
I'm having troubles setting up a auto renew for LetsEncrypt certificates.
I run nginx under Docker container that serves Django application.
Here is my docker-compose file:
version: '3.8'
services:
...
0
votes
0
answers
227
views
nginx/swag and FULLY ignoring unknown subdomains
I have a domain, let's call it foo.dev.
If someone navigates to anything other than the subdomains I have site-confs for, I want it to look like there's nothing at all set up on the domain. If someone ...
0
votes
0
answers
75
views
NGINX waiting 60 seconds before processing request for NodeJS application
I have a NodeJS (ExpressJS) application containerized on Docker that is exposed through an NGINX reverse proxy also containerized on Docker. Sometimes, a request sent to NGINX takes 60 seconds before ...
0
votes
0
answers
1k
views
Docker Nginx serves all static content (none index.php) as 403 Forbidden
I'am trying to convert my personal development setup from local php/ nginx setup to a docker setup. Almost everything is working great, the only issue I'am having right now is that all static content (...
0
votes
1
answer
96
views
Can't upload bigger file using Wordpress Docker and Nginx with configured Certbot
I configured Wordpress on Docker Image:
version: '2'
services:
db:
image: 'mysql/mysql-server:8.0'
volumes:
- 'db_data:/var/lib/mysql'
restart: always
environment:
...
0
votes
0
answers
4k
views
Nginx upstream block host not found
I'm running a nginx container where it maps to another backend container. When I tried adding upstream block in nginx.conf which is like
upstream backend_servers {
server backend:8000;
}
The ...
0
votes
1
answer
609
views
How to allow connections only from frontend container to backend container?
I'm trying to setup my frontend, backend and my DB using docker. Here are the conditions where only my frontend container should make request to backend and not to the public. I have written a conf ...
1
vote
1
answer
180
views
Handling Nginx location aliases when using a standalone PHP-FPM server
I host various Laravel applications that use various versions of PHP, and decided to improve the current single bloated container Docker setup by having multiple PHP-FPM containers, one for each PHP ...
0
votes
0
answers
272
views
UFW + Docker - allow Tinyproxy container to receive all HTTP/HTTPS traffic
Situation
I have a Tinyproxy Docker container forwarding traffic on a host. I also have Nginx reverse proxy receiving/passing HTTP/HTTPS connections to other servers on the same host. Tinyproxy and ...
0
votes
0
answers
253
views
nginx + rocket.chat (docker): 502 error
i'm trying to set up a few open-source services on my domain with each one under their own subdomains. i'm using docker to run the services themselves and nginx as a reverse proxy. be aware that i am ...
0
votes
1
answer
409
views
NGINX proxy pass to docker container's login page [duplicate]
Using nginx, im trying to set an endpoint for /test to redirect to a docker container i have running on the network on port 5000
I gets the the page correctly, however is unable to load the necessary ...