Currently we have the following setup.
Hardware Load Balancer (LB)
Box A running Tomcat on 8080 (TA)
Box B running Tomcat on 8080 (TB)
TA and TB are running behind LB.
For now it's pretty complicated and manual job to take Box A or Box B out of LB to do the zero downtime deployment.
I am thinking to do something like this:
Hardware Load Balancer (LB)
Box A running Nginx on 8080 (NA)
Box A
I have gzip enabled on nginx 1.2.8, but for some reason, it is not gzipping anything.
Nginx install info:
nginx version: nginx/1.2.8
built by gcc 4.7.2 (Ubuntu/Linaro 4.7.2-2ubuntu1)
TLS SNI support enabled
configure arguments: --prefix=/usr/local/nginx-1.2.8 --with-http_ssl_module --with-http_realip_module --with-http_gzip_static_module --with-pcre --conf-path=/etc/nginx/nginx.conf --add-modul
(Plesk 10.4 centos 5.8 linux apache2 server, with Tomcat5 on port 8080 and Apache Solr)
I get "The connection has timed out" on requesting domain.com:8080 or www.domain.com:8080 or ip.ad.dr.ess:8080
Every reason I can find why this might be seems not to be the case:
Plesk thinks Tomcat is running fine and lists it as an active
service.
The firewall currently has an accept all rule on port 8080
I am having issues with my phpmyadmin on my nginx install.
When I enter <ServerIP>/phpmyadmin and logs in, I get redirected to <ServerIP>/index.php?<tokenstuff> instead of <ServerIP>/phpmyadmin/index.php?<tokenstuff>
Nginx config file:
user nginx;
worker_processes 5;
error_log /var/log/nginx/error.log warn;
pid /var/run/nginx.pid;
events {
worker_c
I have followed instruction for setting up django with nginx from the django wiki (https://code.djangoproject.com/wiki/DjangoAndNginx) and have nginx setup as follows (a few name changes to fit my setup).
user nginx nginx;
worker_processes 2;
error_log /var/log/nginx/error_log info;
events {
worker_connections 1024;
use epoll;
}
http {
include /etc/nginx/mime.types;
Here's my NGINX config (no apache, just php-fpm):
user nginx;
worker_processes 1;
error_log /usr/local/nginx/logs/error.log notice;
pid /var/run/nginx.pid;
events {
worker_connections 384;
}
http {
include mime.types;
default_type application/octet-stream;
access_log off;
server_tokens off;
sendfile
I am in the process of trying to configure a Server with https and for some reason it seems the requests are not hitting nginx at all. I have everything working properly but once I go to enable ssl it gives me an will not accept any requests on port 443 (connection timeout). Does anyone know how I can begin to debug this issue? I am using all of the same logic I have used on previous servers.
I have an nginx configuration where the virtual host keeps getting redirected to the localhost.
ok maybe more infos needed...In nginx.conf (chroot)I get some lines like fastcgi_pass unix:/run/php-fpm/php-fpm.sock;But i've not this files in chrooted /runSo can i make use of php-fpm in chroot ?Here my nginx.conf :#user html;
worker_processes 1;
#error_log logs/error.log;
#error_log logs/error.log notice;
#error_log logs/error.log info;
#pid logs/nginx.pid;
events {
wo