Quantcast
Channel: Active questions tagged config - Stack Overflow
Browsing all 5049 articles
Browse latest View live
↧

"worker_processes" directive is not allowed nginx

I need to create nginx.conf file with such routes: /assets - static files, /akka - for hello-world akka webapp, /* - default page. My default.conf file looks like this:worker_processes 1; error_log...

View Article


Freeradius + php extrnal script [closed]

I need config freeradius for Authentication with php script. Im using last version of centos. I tested all code in the web but not true configExampel code

View Article


Add more spacing between different files in git diff

I have a large git repo with many files and frequently need to review many changes. When I do git diff, I just get a wall of text that is very difficult to read because the diff of each file is just...

View Article

Image may be NSFW.
Clik here to view.

Is there a possibility to group properties using Spring Boot?

Can something like this be accomplished using Spring Boot? The idea is to group properties and assign the same value to all of them, so instead of all of the properties ending with 'test*' i would like...

View Article

MAMP .htaccess not working, html files process as php

I am using MAMP (not mamp pro), and the .htaccess file is weirdly behaving. When it is in my project directory, and when I access the site, it downloads an empty file. I want mamp to process my html...

View Article


How to apply config transforms for multiple servers in an environment?

Azure DevOps XDT Transform tasks allow you to build release profiles that transform the base config file with settings that are specific to each environment, such as a connection string that points to...

View Article

Grunt: How to build the files object dynamically

I must be missing something very simple here. I'm trying to write a function task that deals with files. The Grunt API docs mention that you can [Build the files object dynamically], but for some...

View Article

How to resize images in Responsive Filemanager?

I can not configure config.php. I need to resize the image if it is larger than 1920x1080. And if it is less, then do not change.My configurations:'image_max_width' => 1920, 'image_max_height' =>...

View Article


Redis config update changed min-slaves-to-write to 1

Our redis configuration has 1 master and 1 slave node with min-slaves-to-write as 0 in both nodes. There was a disk shortage issue in master and the slave was promoted as master but min-slaves-to-write...

View Article


Config file options for a multi-key -> value map

I'd like to make a static config file for a Java Application, where I have multiple inputs mapping to a output value (something like a composite HashMap key to a value). What would be the best config...

View Article

Configuration of EC2 AMI

it is said after we configure a system in an EC2, we can create EC2 AMI of that, then later on we use the AMI for auto scaling, fail over, etc. But usually the configuration will set something related...

View Article

logging.config.fileConfig : SyntaxError: (unicode error)

When I run the following Python 3 code in CMD or Powershell :# -*- coding: utf-8 -*- import time logging.config.fileConfig('log_config.ini', defaults={'logfilename':...

View Article

Dynamic SQL Connection Class From Config [closed]

What's up. Is there any implemented code for saving connection string part by part in the config file and use it in the application? Also, put some defaults value in hard code ?

View Article


Testing Component or Sevice containing "declare var" with Jest

While testing my component or service I getting the error ReferenceError: flagPath is not definedflagPath is coming from a config.js file in the assets folder. is there a way to add it to the TestBed??...

View Article

Spring config server not starting with keystore

trying to boot spring cloud config server with a keystore but am getting the following on startup:org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name...

View Article


GetValue always getting null/default regardless of type

I noticed that the following statement produces a discrepancy.public static string GetValidation(this IConfiguration self, string key) { IConfigurationSection section = self.GetSection(key); string...

View Article

What are the benefits of adding configs to package.json?

I have always placed different "tooling configurations" in their own files in my front-end projects. For example: babel in babel.config.js, jest in jest.config.js, eslint in an .eslintrc.json, etc.I...

View Article


RSAProtectedConfigurationProvider is not working unless I run as Admin

I would like to use: RSAProtectedConfigurationProvider, but I have the below error message:{"ClassName":"System.Security.Cryptography.CryptographicException","Message":"Object already exists.\r\n",...

View Article

Docker deamon config path under mac os

I am using docker in Version 1.12.0 (build 10871) on Mac OS (El Capitan 10.11.4) and I want to provide a config file for the docker daemon.Under Ubuntu you place the config under /etc/default/docker...

View Article

Laravel after clearing cache redirect doesnt work

I noticed that during the development of my Laravel app the return redirect() sometimes doesnt work when I try to register or login into my app. I hit the submit button and the page just keeps loading...

View Article
Browsing all 5049 articles
Browse latest View live


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