I'm setting up a VPC cluster for my collaborative todo list application www.getdoneapp.com.
To have my servers on the private network I need a NAT server so my servers on the private network can connect to the internet to receive updates and what not.
The NAT server will consume an elastic IP address, so I'm wondering if I can just have that NAT server run nginx to direct traffic to my internal
I am developing an application against a remote https web service. While developing I need to proxy requests from my local development server (running nginx on ubuntu) to the remote https web server.
I am trying to connect to a database hosted on AMAZON EC2:
ec2-xx-xx-xxx-xxx.xxxx-1.amazonaws.com/companyName
I have been given the user and password for this.
What is the best way to connect to a database on this server?
I've tried this tool:
http://www.razorsql.com/register5.html
and also the postgres client to connect.
Thank you so much for your guidance/
Hi there,
I'm trying to get NGINX set up as a reverse proxy server for multiple SSL sites on one IP using SNI.
I'm setting up Nginx with PHP 5.3 for multiple websites running wordpress for example. I just added a new site and it's being redirected to the default welcome page.
I have 2 files.
I have 2 sites-enabled, with server_name as follows:
server_name www.mysite.com mysite.com
and
server_name dev.mysite.com
Problem: When I access the website via its IP address, by looking at the access/error logs, it appears that nginx is serving off the root of dev.mysite.com.
How does nginx decide which to serve?
I have a master caching server with nginx. Its setup with proxy_pass and proxy_cache.
But I want to add more nginx caching servers in other locations that will all contain the same contents with master cache server. So it wouldnt matter to which server I send the request.
Is it possible to just rsync the cache directory across all the servers?
I am trying to enable ssl on a server using a certificate from 123-reg but I keep getting this error:
nginx: [emerg] SSL_CTX_use_certificate_chain_file("/opt/nginx/conf/cleantechlms.crt") failed (SSL: error:0906D06C:PEM routines:PEM_read_bio:no start line error:140DC009:SSL routines:SSL_CTX_use_certificate_chain_file:PEM lib)
This is my nginx config:
server {
listen 443;
server_name a-fake