All Questions
10
questions
2
votes
1
answer
6k
views
Installing Kali Linux in Docker and accessing it's GUI over the browser
so I'm pretty new to docker and all that stuff.
I would like to install Kali Linux as a Docker container and access it's GUI from the browser. How do I do that? I use Portainer as a GUI for managing ...
0
votes
1
answer
373
views
Fail 2 ban not banning an IP when found
When testing my applications fail2ban from another server I see these logs:
2021-08-01 18:48:37,692 fail2ban.filter [1]: INFO [nginx] Found 51.195.221.70 - 2021-08-01 18:48:37
2021-08-01 18:...
0
votes
1
answer
501
views
How to check if website is available when redirection is enabled
I have several websites running inside docker containers.
And since there are several docker containers running on the same server, for each of them a redirection is setup using nginx.
Now I want to ...
0
votes
2
answers
1k
views
nginx doesn't start in docker, unless manually exec'ing into it and starting
I am fairly new to docker. I have to build a docker file that will start node express server and Nginx as a reverse proxy. but the problem is node server starts but Nginx does not start. when I ...
2
votes
1
answer
1k
views
nginx fails to launch in docker when creating volume for /etc/nginx, volume ends up being empty
I am trying to use nginx on my docker server, but when creating a volume pointing to /etc/nginx, nginx fails to launch and the volume ends up being empty.
Here is my docker-compose.yml:
version: '3'
...
0
votes
1
answer
662
views
Nginx gives 404 for some files
Getting 404 for /static/js/admin-extra.js but not for other files, like /static/admin/js/core.js
All static files are copied by Django to the static file directory from both my app, and third party ...
1
vote
1
answer
3k
views
Redirect subdomain to Docker container using NGINX
I have NGINX set up on Centos 7.5, listening on port 80, and directing the traffic to a Gunicorn server. That is the main purpose of this server, and these are are locally installed applications, no ...
2
votes
1
answer
982
views
Nginx - Execute php files in different docker container
I am using an automated docker-image for php-fpm and nginx (https://hub.docker.com/r/tobi312/rpi-php/ and https://hub.docker.com/r/tobi312/rpi-nginx/ ) running on a raspberry pi with with libreelec on ...
2
votes
2
answers
4k
views
nginx doesn't read mounted /usr/share/nginx/html
Goal:
I am using an NGINX container in which I mount a remote SSHFS filesystem into
/usr/share/nginx/html, the purpose is to use each time a new stateless nginx container but with the same ...
1
vote
1
answer
1k
views
Redirect web socket connections to newly created docker container with nginx
I created a Docker image which exposes a certain port, and listens for a single web socket connection.
Is it possible to configure nginx in a way, so that for each new incoming web socket connection, ...