Answer by kaiser for Host Primary Domain from a subfolder
One of your problems is your Regex: You are not escaping your dot. That means it will be taken as "any character" instead of just a dot. Instead of^(www.)?domain.tld$you will need to...
View ArticleEnable FastCGI on Apache with Puppetlabs/Apache
I'm using Puppetlabs/Apache to configure Apache. In the main puppet file, I call and configure it:class { '::apache': }class { '::apache::mod::fastcgi': }apache::vhost { "${::fqdn} non-ssl": servername...
View ArticleAnsible not found in PATH after installation on Vagrant box
The ProblemFor a test, I set up a very simple Vagrant file. This is just to test how working with Ansible is. Sadly I am stuck at step number 2 with the following error during vagrant up --provision...
View ArticleAnswer by kaiser for Nginx reverse proxy and wordpress
To answer your comment:Resolved: I don't know why but it was a problem with the add_header Content-Security-Policy. I just remove it from the http bloc and now everyhtings working great! voilaThe...
View ArticleAnswer by kaiser for Proxy using nginx
You have an unused upstream named backend where you are pointing nothing at the moment. Straight from the Nginx upstream docs:upstream backend { server backend1.example.com weight=5; server...
View ArticleHow is Docker Compose version 2 "volumes" syntax supposed to look?
With Docker Compose v1.6.0+, there now is a new/version 2 file syntax for the docker-compose.yml file. The changes include a separate top level key named volumes. This allows to "centralize" volume...
View Article