Quantcast
Channel: User kaiser - Server Fault
Browsing latest articles
Browse All 26 View Live
↧

Comment by kaiser on What permissions are needed to write a PID file in...

@Tim how about [edit]ing the answer and complete it?

View Article


Comment by kaiser on Proxy using nginx

Where are you actually using the backend upstream?

View Article


Comment by kaiser on How is Docker Compose version 2 "volumes" syntax...

This is exactly what I linked in the question and therefore does not answer my question. Would you mind posting an example of how to map different directories from the host as a named volume to...

View Article

Comment by kaiser on How to pass GeoIP HTTP request headers to backend with...

Are you sure that the variables are really set in Nginx .conf?

View Article

Comment by kaiser on /etc/environment is not read

Have you tried source /etc/environment after your change?

View Article


Comment by kaiser on How is Docker Compose version 2 "volumes" syntax...

Already upvoted, but just today found time to get around it and added an extended data. Thanks for all your help! Question: As you name the volume project and then reference it as project:/bar, where...

View Article

Comment by kaiser on installing php-gd dependencies on alpine linux in...

Why would you need the coreutils package?

View Article

Comment by kaiser on How is Docker Compose version 2 "volumes" syntax...

Mounting named volumesnow is a thing… since 1.11 or 1.12.

View Article


Comment by kaiser on How is Docker Compose version 2 "volumes" syntax...

@DerekAdair Try and error and finally reading Dockers core code on Github.

View Article


Comment by kaiser on What is the best Linux filesystem for MySQL (InnoDB)?

the other answers are outdated… now,: 5 years later…

View Article

Comment by kaiser on How to specify multiple included domains in SPF record?

@Gonzalingui The a allows you to use your ip address to send mail for that specific domain.

View Article

Comment by kaiser on DHCP Options for Network Time Server

11 years later and this question is the first result. Well done.

View Article

Comment by kaiser on How do I find if there is a rogue DHCP server on my...

Scapy is locked up. There's a GitHub fork that claims to have extended functionality but has no real README or docs.

View Article


Answer by kaiser for Puppet print out messages

You can use notice() or warning() (depending on what you want to tell the user)notice( 'some-command is going to be executed now' )and then simply exec right after that line.

View Article

Puppet exec command with variable not executed

I have a very simple Puppet (sub)module that should use Git to clone a repository from a remote location:class wppuppet::git( $location = '/var/www/wp') { file { $location: ensure => 'directory',...

View Article


Answer by kaiser for Puppet concatenate templates

One possible solution is to fetch templates in variables. Then concatenate the string and push it into an inline_template():$a = template( 'wppuppet/my-file.a.erb' )$b = template(...

View Article

Answer by kaiser for Puppet concatenate templates

Another possible solution that surprisingly works (and about which I couldn't find any documentation), is the array syntax inside the template() function:file { "${location}/final-file.php": ensure...

View Article


Puppet concatenate templates

In the module I'm currently working on, I got a load of configuration options that need to be set, have default values ... and should be fragmented into shorter template files as else it would be a...

View Article

Puppet variables, defaults, merging and a template

During the task of writing a module, I found out that I have a huge amount of configurable parts. To better organize the module (for the sake of read- and maintainability), I have chosen to split...

View Article

Answer by kaiser for How can I persuade a wordpress bitnami module to operate...

I really don't know about Bitnami, but to add WordPress to a sub directory, you need two things:a index.php in the root dir containing nothing than the following:<?phpdefine('WP_USE_THEMES',...

View Article

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 Article


Enable 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 Article


Ansible 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 Article

Answer 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 Article

Answer 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 Article


How 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
Browsing latest articles
Browse All 26 View Live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>