Bookmarks tagged with #nginx.
Show all
Show all
Migrate Apache .htaccess to NGINX server block - A blog about Laravel Frame
I’ve migrated my blog from Apache to NGINX. In the process, the .htaccess file was converted into an NGINX Server Block. This article shows both files and serves as an example for others that want to migrate.
Saved
on: 2019-02-07
How To Migrate from an Apache Web Server to Nginx on an Ubuntu VPS
Apache and Nginx are both powerful web servers that can reliably host web content on the internet. While Apache is the currently the most popular web server in the world, Nginx is rapidly gaining converts due to its low resource usage. In this guide, we will discuss how to migrate from Apache to Nginx.
Tags:
#nginx
Saved
on: 2017-08-14
Nginx with dynamic upstreams - Tenzer.dk
I recently made a setup at work where I had a Nginx server facing the user, which would forward requests to a service running behind an AWS Elastic Load Balancer (aka. ELB). That in itself doesn't sound like a difficult task, you just find the hostname for the ELB and point Nginx at it with a proxy_pass statement like this, right?
location / {
proxy_pass http://service-1234567890.us-east-1.elb.amazonaws.com;
}
Test it out and - assuming the firewall/security group configuration is set up right - it should work just fine. Some hours later you may however find the service is no longer working, even though no changes has been made. Calling the ELB endpoint directly works just fine, but calling it through Nginx just times out.
Saved
on: 2015-07-27