racl101 + config   126

Nginx: 413 - Request Entity Too Large Error and Solution - nixCraft
Encountered this with huge uploads even though I changed the PHP post and upload max size settings. It turned out, I had to also set client_max_body_size in my nginx virtual host file.
cyberciti  blog  tutorial  howto  fix  troubleshoot  linux  http  error  code  413  request  entity  too  large  file  upload  max  post  settings  config  virtual  host  virtualhost  client_max_body_size  setting  example  guide  reference 
8 weeks ago by racl101
set git difftool to bbdiff
A useful Github gist demonstrating how to configure a non-preconfigured diff tool like bbdiff (BBEdit editor's diff tool) as the Git diff and/or merge tool.
github  gist  howto  example  global  configure  tool  software  utility  diff  merge  bbdiff  config  guide  reference 
january 2019 by racl101
git - Configuring diff tool with .gitconfig - Stack Overflow
Shows, for example how to set a diff / merge tool that isn't one of the regularly supported ones like vimdiff for example.
stackoverflow  howto  example  set  diff  merge  tool  global  git  config  custom  configure  command  bbdiff  guide  reference 
december 2018 by racl101
MySQL :: MySQL 5.7 Reference Manual :: 4.2.6 Using Option Files
Check out the table under the heading: "Option Files Read on Unix and Unix-Like Systems" to see where (and in what order) MySQL checks for options.

Of specific importance for logging in passwordless, at least with Ansible, is the ~/.my.cnf file.
mysql  server  config  documentation  guide  reference  my.cnf  user  howto  example  toread  tolearn  totry  tounderstand 
july 2018 by racl101
PHP-FPM: Multiple Resource Pools | Servers for Hackers
Good video explaining how might one set up multiple PHP-FPM resource pool config files and multiple virtual hosts for multiple websites (with Nginx). Although the creator of the video makes a lot of mistakes and it can be confusing at times, he does a good job at explaining the rationale for doing so. If you want to see a written blog post version of this you can refer to:


Works on Ubuntu 16.04
video  screencast  tutorial  howto  setup  serversforhackers  multiple  php-fpm  config  pool  resources  configuration  websites  virtual  hosts  explanation  example  guide  reference 
july 2018 by racl101
Nginx location "not equal to" regex - Stack Overflow
This is a trick when you want to apply a rewrite to a bunch of URIs matching a certain pattern, with the exception of a fie (the ones with an empty location block.)
stackoverflow  howto  example  nginx  server  config  conf  file  trick  fix  guide  reference  exception  rewrite  expression  empty  block 
december 2017 by racl101
php fpm - Php-fpm status page is not displayed - Server Fault
Need to try this to get PHP-FPM's own status page to show when it's not working after just changing the settings.
stackexchange  serverfault  howto  enable  php-fpm  status  page  nginx  virtual  host  block  config  settings  server  example 
september 2017 by racl101
gulp - Laravel elixir and autoprefixer - Stack Overflow
How to prevent browser vendor prefix rules from being removed in output when you need them there. Set, elixir.config.css.autoprefix.enabled = false;
override  CSS  Elixir  Stackoverflow  Howto  config  LAravel  prefix  Browser  Gulp  disable  autoprefixer  vendor  example 
august 2016 by racl101
enable cross-origin resource sharing
Had this major issue troubleshooting CORS with an Angular JS app hosted on, say, http://a.my-site.dev, and having it use an API on another site hosted on, say, http://b.my-site.dev both running on Homestead VM. 1) Configure Nginx site configuration on VM: $ sudo nano /etc/nginx/sites-available/b.my-site.dev and I had to add this portion from this tutorial: if ($request_method = 'OPTIONS') { add_header 'Access-Control-Allow-Origin' '*'; add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS'; add_header 'Access-Control-Allow-Headers' 'DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type'; add_header 'Access-Control-Max-Age' 1728000; add_header 'Content-Type' 'text/plain charset=UTF-8'; add_header 'Content-Length' 0; return 204; } and 2) I had to install this Laravel CORS library ( https://github.com/barryvdh/laravel-cors ) to whitelist the front-end site (http://a.my-site.dev ) with this configuration: 'supportsCredentials' => false, //'allowedOrigins' => ['*'], 'allowedOrigins' => ['http://a.my-site.dev'], 'allowedHeaders' => ['*'], 'allowedMethods' => ['*'], 'exposedHeaders' => [], 'maxAge' => 0, 'hosts' => [], 3) and finally restart the nginx server:
Server  ReferencE  Guide  Nginx  Howto  example  CORS  config  configuration 
june 2016 by racl101
How to use Composer packages in Wordpress - Creo
This kind of worked for me but I had to use the vendor-dir option to make it work me.
Blog  Tutorial  Howto  Composer  WordPress  config  Package  json  example  integration 
october 2015 by racl101
php - How to specify Composer install path? - Stack Overflow
# vendor-dir is the option you want to set. { ... "config": { "vendor-dir": "plugins" } ... }
example  Stackoverflow  install  vendor  PATH  Composer  config  Howto  ReferencE  Guide 
october 2015 by racl101
Quick Tip: ImpressPages4 on Homestead
Explains location of the config file for a website running on nginx and how to do the equivalent of mod_rewrite on Nginx.
config  modrewrite  Server  Nginx  prettylinks  homestead  Guide  sitepoint  vagrant  ReferencE  Blog  Tutorial 
september 2015 by racl101
« earlier      
per page:    204080120160

related tags

1.2  ACCESS  account  Actionmailer  admin  advanced  agent  aliases  allocation  allow  android  apache  apache-1.3  APi  app  apple.stackexchange  artisan  askubuntu  assets  atlassian  author  automation  autoprefixer  Aws  bbdiff  bestpractices  Bitbucket  bitmap  block  blog  blogging  bower  boxfile  browser  build  change  check  cli  client_max_body_size  clone  code  codesniffer  codex  color  column  command  commandline  commit  components  composer  composer.json  conf  conf.d  config  configuration  configure  confluence  connection  connections  console  continuous  continuous-integration  continuousintegration  continuousintegreation  cookiepath  CORS  could  Create  cronjob  css  current  custom  cyberciti  daemon  database  date  datetime  default  delete  deliveries  deployment  dev  development  devtools  diff  difference  different  digitalocean  directory  disable  docker  doctrine  Document  documentation  dotenv  download  dzone  eclipse  edit  editor  ee2  Elixir  eloquent  email  empty  enable  enabled  entity  entrust  env  environment  environments  error  example  exception  exclude  execute  expiration  explanation  explicit  expression  expressionengine  extend  file  files  fix  folder  force  force_ssl  format  formats  formatting  forum  from  ftp  fuelphp  Function  generate  get  getting  gettingstarted  gist  git  git-config  github  global  gmail  gotcha  grep  gtd  gui  guide  Gulp  hard  help  hidden  highlighting  homestead  host  hosting  hosts  howto  htaccess  http  hudson  idenity  identity  image  imap  include_path  increase  indentation  info  ini  init  ini_get  input  inspect  install  installation  integration  issue  issues  java  jenkins  job  json  key  keys  laravel  laravel4  laravel5  laravelrecipes  large  layout  level  library  limit  line  linux  list  locales  location  log  logging  login  macosx  mail  manage  manual  many  map  mapping  max  maximum  max_input_vars  media  mediawiki  memory  merge  message  Method  microsoft  modernizr  modrewrite  multiple  my.cnf  mysql  mysql_config_editor  name  network  networking  newrelic  nginx  not  npm  number  oauth  office2010  opcache  open  optimization  options  orm  osx  outlook  override  overview  package  package.json  page  pagodabox  pagodaboxv2  passenger  password  passwordless  path  pear  per  perch  perform  performance  phing  php  php-fpm  php.ini  phpcli  phpcs  phpinfo  phpmyadmin  phpstorm  php_value  PHusion  Plugin  pma  pool  post  postgres  postgresql  prefix  pretty  prettylinks  print  private  process  production  programming  project  projects  public  publish  rails  railsguides  recipes  reference  Referene  relationship  release  Reloading  reminder  Remote  repository  request  requirement  resources  restart  restarting  rewrite  root  ror  ror4.2.0  ruby  rubyonrails  rubyonrails4.2.0  ruler  ruleset  runtime  safari  scheme  scm  scope  scotch.io  scotchio  screencast  script  sdk  search  secure  security  Send  Sensitive  server  serverfault  serversforhackers  set  setting  settings  setup  Shell  shopify  shortcuts  shortener  show  sitecookiepath  sitepoint  sites  Size  snippets  soft  software  source  spaces  ssh  ssl  Stack  stackexchange  stackoverflow  started  status  Storage  structure  stylesheet  subject  Sublime3  sublimetext  sublimetext3  superuser.com  Supervisord  syntax  sysadmin  system  tab  Taylorotwell  template  templates  terminal  testing  theme  Thread  time  timeout  timezone  tinymce  tinyme  tinymice-advanced  tips  tolean  tolearn  too  tool  tools  toread  totry  tounderstand  trick  troubleshoot  troubleshooting  tune  tutorial  tutorials  twitter  ubuntu  ubuntu14.04  ubuntu16.04  unicorn  unix  update  upload  uploads  upstream  url  usage  use  user  username  utility  V3  vagrant  value  variables  vendor  vhost  video  vim  vimrc  virtual  virtualhost  virtualmachine  vsftpd  webdev  webserver  websites  width  wiki  wkhtmltopdf  wordpress  wordpress.stackexchange  work  worker  worker_connections  worker_rlimit_nofile  working  wp-config  WPcli  yaml  zizaco 

Copy this bookmark: