Skip to main content

All Questions

Tagged with
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 ...
ROODAY's user avatar
  • 243
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 ...
laur's user avatar
  • 227
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 ...
zer0's user avatar
  • 21
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 ...
bitflip's user avatar
  • 31
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' ...
lizardguy's user avatar
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 ...
PinPiguin's user avatar
  • 121
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 ...
user avatar
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 ...
Arch's user avatar
  • 11
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 ...
Zoumath's user avatar
  • 11
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>:...
jag959's user avatar
  • 11
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 ...
IcePops's user avatar
  • 11
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 ...
motherboard1999's user avatar
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: ...
happythenewsad's user avatar
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 ...
Bob K's user avatar
  • 21
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 { ...
scott8035's user avatar
  • 141
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 ...
kirito's user avatar
  • 11
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 ...
Dean Michael's user avatar
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; ...
MPA's user avatar
  • 103
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 ...
Plankt0n's user avatar
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 ...
Daniel Lavallée's user avatar
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 { ...
DevMan's user avatar
  • 101
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; ...
v.montag's user avatar
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 ...
elda's user avatar
  • 1
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 ...
Sayaman's user avatar
  • 231
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:...
Jaquarh's user avatar
  • 101
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://...
Travis Rivera's user avatar
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 ...
lizardguy's user avatar
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 ...
BoomDizzle's user avatar
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/...
der-zebastian's user avatar
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 ...
G B's user avatar
  • 81

15 30 50 per page