Tag: nginx

Reverse proxy behind a reverse proxy

Learning things the hard way by getting my hands dirty is also the way I have learned about the concept of a reverse proxy behind another reverse proxy. The setup I had was a docker-compose file that configured multiple services including Nginx as a reverse proxy. Nothing special…

Install Nextcloud with Onlyoffice with docker-compose

I was able to install NextCloud with OnlyOffice for collaborative spreadsheets as they are quite useful when cooperating with other members of a team, especially because Markdown support for tables is not very interactive and also lacks the familiar WYSIWYG feeling people are use…

Certificate not found with Nginx under Docker

When trying to run a docker-compose with a Nginx inside and setting up TLS for a virtual host (subdomain), this error showed up: nginx: [emerg] cannot load certificate "/etc/nginx/ssl/sub.peterbabic.dev.cer": BIO_new_file() failed (SSL: error:02001002:system library:fop…

Nginx on Arch using Ansible pt.3

See also part 1 and part 2. Digging deeper after successfully made use of the template for the nginx.conf.j2 in the previous post I tried to utilize the virtual hosts template accessible in vhosts.j2 by copying the template and referencing it locally (the thing same I did with wi…

Nginx on Arch using Ansible pt.2

This is an update to the post I made a week earlier. Issue got no reaction whatsoever on GitHub so far. For short, The original issue described the fact, that running the associated Ansible Galaxy role would fail on every subsequent run on Arch based systems, because of the dupli…

Nginx with acme.sh on Arch

Modern Internet is full of encryption. In many ways, using encryption is still optional, although non-encrypted communication of any form is getting rarer every day. There are factors that contribute to this trend. As a specific example, some top-level domains, like .app or .dev,…

Nginx on Arch using Ansible

Since Arch, Nginx and Ansible are already all pretty mature tools by themselves, I though that installing Nginx on Arch system using Ansible playbook would be a matter of seconds. But judging from an actual experience, it is a little bit harder. The official ansible nginx role do…