nginx   29116

« earlier    

301s, 302s, 307s & 308s: Report URI's journey to a permanent redirect
2017-11-13, by Scott Helme,

"(...) The difference there is really subtle and you may have to look twice to spot it, but as minor as that change is, it changes everything. The problem is that when you use a 301 or 302 redirect the browser will change the method on the redirect to be a GET request, even if the original method was a POST request or any other type of request. In the context of our reports this essentially disables reporting as we lose the JSON payload sent in every single report once the browser fires them again as a GET request. We needed to use an alternative redirect mechanism. (...)"

"(...) At the time of writing 1.13.0 has only just hit mainline and the latest stable version is 1.12.2, so we had a version of Nginx that wasn't treating a 308 as a redirect (...) On a 308 response Nginx was not including the Location header, so of course the browser wasn't following it, it wasn't there! This represents a problem that kind of is and isn't a problem. We wanted the 308 for a few reasons; it keeps the HTTP method as POST which is essential, it alleviates load on our infrastructure because the browser typically caches the 308 for up to 30 days and a cached redirect is faster to execute than one that hits the wire which improves performance. Without the 308 we couldn't have any of those things. (...)"
http  protocol  knowledge  nginx 
21 hours ago by eric.brechemier
Nginx Reverse Proxy. Multiple Applications on One Domain
How to use Nginx as reverse proxy to serve multiple applications from the same domain on the same host or different one
server  nginx 
23 hours ago by renaudjx
How do I install the dom extension for PHP7?
Install this package when running composer install command to install Laravel and you get this message:

"requires ext-dom * -> the requested PHP extension dom is missing from your system."

If running PHP 7.0 with Nginx thought PHP-FPM you might consider installing this package:

$ sudo apt-get install php7.0-xml
laracasts  forum  howto  troubleshoot  guide  laravel  composer  laravel5  laravel5.4  ext-dom  php-xml  php7.0-xml  php7  discussion  reference  dependency  package  extension  module  nginx  php-fpm 
yesterday by racl101
How To Install Nginx on Ubuntu 16.04 | DigitalOcean
nt Nginx Files and Directories
Now that you know how to manage the service itself, you should take a few minutes to familiarize yourself with a few important directories and files.
5 days ago by jordan23jy
Apache vs Nginx: Practical Considerations | DigitalOcean
Apache and Nginx are the two most common open source web servers in the world. Together, they are responsible for serving over 50% of traffic on the internet. Both solutions are capable of handling diverse workloads and working with other software to
nginx  apache 
5 days ago by jordan23jy
amazon web services - AWS ELB -> Backend Server over HTTPS with Self-Signed Certificate - Stack Overflow
Very influential question that helped me make sense out of how to create self signed certificates for backend authentication process when setting up Amazon AWS (elastic) classic load balancers and protect the connection from load balancer to EC2 instances. Especially the part where I need to configure each EC2 instance running Nginx. This example shows the Nginx config file.
stackoverflow  howto  guide  reference  example  set  up  ssl  load  balancer  elastic  elb  classic  self  signed  certificate  openssl  pem  configuration  server  nginx 
7 days ago by racl101

« earlier    

related tags

**  443  access  advice  amazon  apache  apps  article  aws-s3  aws  backend  balancer  best  bestpractices  blog  buffer  cache  caching  certbot  certificate  cgi  classic  cloudflare  composer  compression  config  configuration  containers  craftcms  csr  database  debian  dependency  deploy  development  devops  digitalocean  directory  directoryindex  discovery  discussion  distribution  django  docker  download  elastic  elb  enable  envoy  example  explanation  ext-dom  extension  fastcgi  fastcgi_pass  favicon  file-upload  file  files  fisharebest  flask  forum  generate  github  go  golang  google  guide  gunicorn  hosting  howto  http  http2  https  icon  iet-ou  image  index  ingress  ingresscontroller  iot  keys  knowledge  kubernetes  l7  lang:en  laracasts  laravel  laravel5.4  laravel5  lb  letsencrypt  link  linux  load  loadbalancing  location  log  ltsv  lua  mariadb  memcached_pass  microservices  module  modules  monitoring  mqtt  mysql  nchan  network  networking  nextcloud  node  official  openresty  opensource  openssl  optimization  package  pagespeed  pem  performance  philosophy  php-fpm  php-xml  php  php7.0-xml  php7  plex  practice  private  programming  protocol  proxy  proxy_bind  proxy_buffer_size  proxy_buffering  proxy_buffers  proxy_pass  proxy_set_header  public  pubsub  python  read2of  redirect  redis  reference  regex  request  reverse  rtmp  scale  scaling  scgi_pass  security.stackexchange  security  self  server  serverfault  service  set  signed  signing  slideshow  smartos  software  ssl  stackexchange  stackoverflow  static  stats  status  sysadmin  tab  tcp  tips  tls  tolearn  tool  toolkit  tools  toread  tounderstand  troubleshoot  tutorial  ubuntu  unix  up  url  uwsgi_pass  vagrant  valet  virtualization  vts  web  webdesign  webserver  windows  wordpress  x-real-ip  リバースプロキシ 

Copy this bookmark: