All Questions
34
questions with no upvoted or accepted answers
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 ...