Entradas
Mostrando entradas de 2016
Configuring nginx as a proxy
- Obtener enlace
- X
- Correo electrónico
- Otras aplicaciones
How To Install Nginx on Ubuntu 16.04
- Obtener enlace
- X
- Correo electrónico
- Otras aplicaciones
Thank to: https://www.digitalocean.com Introduction Nginx is one of the most popular web servers in the world and is responsible for hosting some of the largest and highest-traffic sites on the internet. It is more resource-friendly than Apache in most cases and can be used as a web server or a reverse proxy. In this guide, we'll discuss how to get Nginx installed on your Ubuntu 16.04 server. Prerequisites Before you begin this guide, you should have a regular, non-root user with sudo privileges configured on your server. You can learn how to configure a regular user account by following our initial server setup guide for Ubuntu 16.04 . When you have an account available, log in as your non-root user to begin. Step 1: Install Nginx Nginx is available in Ubuntu's default repositories, so the installation is rather straight forward. Since this is our first interaction with the apt packaging system in this session, we will update our local package index
Building a Quick Reverse Proxy
- Obtener enlace
- X
- Correo electrónico
- Otras aplicaciones
Thanks to: https://joshuarogers.net In theory, a reverse proxy is extremely similar. The difference is that whereas a proxy server normally proxies outbound traffic, a reverse proxy proxies inbound traffic. By parsing all of the incoming requests, we can perform filtering and load balancing, or as we plan in this case, we can hide several servers behind a pool of IPs and decide which one to should be used to field our request based on the HTTP headers. ###The Setup### Assuming we’ve already got an Ubuntu machine available, we should be able to get NGinx installed extremely quickly. If you’re using another platform, be it Windows, Mac, or another Linux, you can still run NGinx, but you’ll need to find the correct installation method for your particular system. sudo apt-get install nginx Simple enough. ###Configuration### Next, we’ll need to add some configuration directives for NGinx to follow. For the following steps, I’ll assume NGinx configuration to reside in /etc/nginx. L
Remove server information in email header for MS Exchange 2007/2010
- Obtener enlace
- X
- Correo electrónico
- Otras aplicaciones
Thanks to: http://e-enfra.blogspot.com/ An email message consists of three components, the message envelope, the message header, and the message body. The message header contains control information, including, minimally, an originator's email address and one or more recipient addresses. Usually descriptive information is also added, such as a subject header field and a message submission date/time stamp. Above definition is from Wikipedia. When a user receive an email from another user B, basically from the email header, we are able to view the sender's (user B) email server name and ip address unless these information is purposely masked. In Exchange 2007/2010, these information (server name, IP) will be populated in the message header basically is to allow the ease troubleshooting on the mail flow. However, if you like to protect these internal server information from showing to whole world, you may try this at your Exchange Server. It's pretty simple and strai