All Questions
34
questions with no upvoted or accepted answers
4
votes
0
answers
554
views
What exactly are the security implications of ufw DEFAULT_FORWARD_POLICY “ACCEPT”?
I found this question asked on Serverfault, but the answer just provided alternatives instead of actually detailing the implications. I had to set DEFAULT_FORWARD_POLICY to "ACCEPT" to be able to ...
3
votes
0
answers
643
views
What docker stack layout for nginx, ufw, fail2ban, and private services
I have an unraid server running some dockerized services (eg emby & seafile) that offer web interfaces which now need to be opened up in order to be accessible from outside the LAN.
Never opened ...
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 ...
2
votes
0
answers
2k
views
Why can't I get Nginx reverce proxy to show real client / visitor IP?
I have been struggling for several weeks now trying to get my Nginx reverse proxy to show / pass through the real visitor IP and I have reached the point where I have no more ideas to try. I have of ...
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'
...
2
votes
1
answer
6k
views
How to configure NGINX proxy to do port fowarding to Docker container?
I am trying to implement simple HLS streaming service that is running of Docker containers. In short, each service is dockerized Apache streaming node. Everything works fine. Except there is a problem ...
2
votes
0
answers
1k
views
Nginx reverse proxy container return error 404 Not Found on .php files
I have an nginx reverse proxy container and also an nginx and a php-fpm one. I have no problem serving .html files but when I try to navigate to a .php I receive Error 404 Not Found.
This is the ...
1
vote
1
answer
77
views
ISPconfig/Nginx/wordpress to nginx proxy manager | wordpress using permalinks/postname
I am migrating my wordpress site from Ispconfig/Apache to Ispconfig/Nginx and introducing Nginx proxy manager in the mix. The problem seems to be the following:
htaccess is not enabled in nginx
are ...
1
vote
0
answers
203
views
SSL certificates not being generated with Certbot for Nginx when using Docker
If I understand this correctly what you are required to do is to have a web server being hosted at a specific domain and then execute the certbot command with specific arguments.
I have created a ...
1
vote
1
answer
5k
views
Nginx Proxy Manager: Can you use single IP address (no hostname) and different ports or paths to forward to different docker container applications?
I do not have any hostnames like something.com to use. I only have the IP address of my server for access. Is there a way to configure Nginx Proxy Manager so when you request http://<ip_address>:...
1
vote
0
answers
582
views
Docker portainer + nginx + vpn
I have a docker install that is running portainer and nginx as a proxy
so subdomain.XXXXX.xyz redirects on port 80 to the port the Container is running in. this part is working correctly but I am ...
1
vote
0
answers
813
views
Traefik docker container with multiple NGINX vHosts
I want to host multiple web-services in Docker container, all of this services should use a seperate NGINX container. For example I use Nextcloud only with PHP or later I want to host GitLab. This two ...
1
vote
1
answer
974
views
'service nginx start' command succeeds in interactive mode, fails in Dockerfile
Host OS: macOS Mojave
I'm building a simple Docker container for Nginx. nginx will start correctly in interactive mode, but fails silently when invoked by a RUN command in a Dockerfile.
Dockerfile:
...
1
vote
1
answer
643
views
How does the Nginx reverse proxy manage to route traffic to the right docker container if the containers are listening on port 80?
According to this website, when a network of containers is set up, each container listens to port 80 by default and this can lead to conflict between incoming traffic. This is solved by using the ...
1
vote
1
answer
2k
views
nginx reverse proxy redirect returns incorrect URL
I am setting up JIRA Software in a Docker container. JIRA is listening on 127.0.0.1:8080. I have my reverse proxy on https://hostname/jira redirecting the traffic using this config:
location /jira {
...
1
vote
1
answer
6k
views
(7) Failed to connect to localhost port 80: Connection refused
I am bit of a noob here and I'm looking for some help with something I have got stuck with. I did thoroughly check Google and here for people who had experienced the same problem, but adding or ...
0
votes
0
answers
9
views
How to set-up Nginx conf to not pick Alphabetic order incase URL doesn't match reques
Wasn't sure how to word out the title but i have multiple docker server running wp/nginx Now we have a conf with a block for 80 and 443 for every site in the conf.d dir and in Cloudflare point the ip ...
0
votes
0
answers
14
views
Docker certbot trouble after relocating data-root
Because of my Docker images/containers filling up my root partition, I've been trying to move the data-root directory of my Docker installation to a different location (current: /usr/lib/docker; ...
0
votes
1
answer
141
views
Use NGINX to serve as both webhost + direct subdomain request to dockerserver:port
First, I struggled hard with the title. I've been trying back and forth, googling like mad and the resources I find are most likely way to complicated for me.
But I find it so unbelievable that it's ...
0
votes
0
answers
97
views
Configure a Raspbery Pi Nextcloud local server to run https with Docker containers
I'm trying to set up a Nextcloud server on my local nextwork using a Raspberry Pi. To do so, I used 3 docker images: nextcloud, posgresql and nginx. But even if I want to use this cloud only within my ...
0
votes
1
answer
624
views
Nginx proxy_pass with custom variable
I have a question regarding the proxy_pass and dynamic subdomains.
on my server, I have a site_block which looks like this:
upstream mydockersite{
server 127.0.0.1:8081;
}
server {
...
0
votes
1
answer
569
views
Docker Nextcloud behind nginx with proxy_pass not working
i tried to pass the nextcloud docker with apache through nginx with a subdomain. But i still recieve the index.html from the main site.
server {
listen 80 default_server;
...
0
votes
1
answer
1k
views
How can I use GitLab under a relative URL on docker?
I'm using gitlab-ce on docker.
These are my system specifications.
A container of GitLab is gitlab/gitlab-ce.
The web frontend is using external NGINX.
GitLab is mounted under /git.
I read the the ...
0
votes
1
answer
92
views
What values can you put inside nginx.conf when using it as a reverse proxy in a dockerized app, and does it have to change for production deployment?
upstream loadbalancer {
server 172.17.0.1:5001 weight=6;
server 172.17.0.1:5002 weight=4;
}
server {
location / {
proxy_pass http://loadbalancer;
}}
Can we use 172.17.0.1 as IP in a dockerized ...
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
0
answers
3k
views
Configure Nginx to reverse proxy docker containers to subdomains
server {
listen 443;
server_name https://domain.dev
ssl_certificate /etc/ssl/domain.dev.crt;
ssl_certificate_key /etc/ssl/domain.dev.key;
location / {
proxy_pass http://...
0
votes
0
answers
352
views
Syncthing webGUI broken when proxied through nginx on Docker
I want to deploy syncthing on my Ubunty 18.04 server using docker.
I'm using nginx as a reverse proxy so WebGUI traffic goes over SSL using my certificate.
However, opening the webGUI when proxied ...
0
votes
1
answer
1k
views
nginx name-based multiple virtual hosts not working
I have an nginx docker running with a virtual host that reverse-proxies to a django setup in the same docker bridge (this works). I am trying to add a second virtual host that would serve static html ...
0
votes
1
answer
293
views
where is the seafile nginx config?
I have deployed Seafile 7 using the docker image. This worked great, so i tried to install onlyoffice to link it with seafile. I did that as described in https://manual.seafile.com/deploy/deploy/...
0
votes
0
answers
3k
views
Permission denied accessing volume in docker-compose
I've followed this tutorial for deploying a web application using django, gunicorn, nginx and postgresql.
When working with the empty application in the tutorial, everything seems ok, but then I ...
0
votes
0
answers
246
views
Docker Containers not accessible outside of LAN
Overview:
I have Docker running several containers on an rack server running Ubuntu Server 18.04. Most of these containers provide a service that is accessible through a browser on a port other than ...
0
votes
1
answer
3k
views
Docker: How does Nginx forward requests to a container without the VIRTUAL_HOST environment variable?
In almost every Nginx related webpage I've visited, it says that if a docker container is to be reachable from the Nginx reverse proxy, then it requires the VIRTUAL_HOST environment variable.
However,...
0
votes
1
answer
1k
views
Can not run nginx webserver in docker
Hello i am trying to make a nginx server work in container.I have followed this guide :
https://www.youtube.com/watch?v=Vyp5_F42NGs
When i run the command docker run --name my-nginx -p 80:80 nginx:1....
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 ...