Re: Problem with SSL

2016-09-07 Thread ron ramos
Just add another server block on domain1 that listens to 443 ..and redirect it to http if you ..or just give an error On 8 Sep 2016 11:59 a.m., "Kurogane" wrote: > Domain 1 > > server { > listen 80; > server_name domain1.com; > return 301 $scheme://www.$host$request_uri;

Re: Making Tomcat accessible only through nginx reverse proxy

2016-04-25 Thread ron ramos
please check your proxy_pass parameter, it should point to your tomcat endpoint: http://www.mkyong.com/nginx/nginx-apache-tomcat-configuration-example/ hope this helps. On Wed, Apr 20, 2016 at 7:19 PM, gischethans wrote: > I have a Tomcat server serving a web application and I have a Nginx serv

Re: Wildcard SSL and Wildcard hostnames

2015-05-12 Thread ron ramos
hi if you are using amazon you can try their DNS service Route53. you can point the root domain to an ELB via ALIAS setting. regards, ron On Mon, May 11, 2015 at 11:23 PM, braindeaf wrote: > The SSL Checking service did indeed point out the error. I will admit to my > own stupidity on this on

remote_addr not set using x-real-ip

2015-01-26 Thread ron ramos
Hi All, I would just like to check what mistake i did on implementing real-ip module. Im using nginx 1.6.2 with real_ip_module enabled: nginx -V nginx version: nginx/1.6.2 TLS SNI support enabled configure arguments: --with-cc-opt='-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wfo

Re: Invalid ports added in redirects on AWS EC2 nginx

2014-06-02 Thread ron ramos
how about binding it to another port like 8080. so elb will receive request as https port 443 and send it to ec2 instance via http port 8080. will that help? regards, nhadie On 2 Jun 2014 01:48, "allang" wrote: > On AWS, I'm trying to migrate a PHP Symfony app running on nginx. I want to > be ab

Re: How to serve PHP files outside the public folder?

2013-08-25 Thread ron ramos
Hi, Maybe you can try something like this; location /private/ { try_files @private } location @private { fastcgi_pass 127.0.0.1:9000; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; include /etc/nginx/fastcgi_params; } Regards, Ron On

Re: flush temp directory

2013-08-17 Thread ron ramos
Thank you Igor. I was just basically looking into this: http://php-fpm.org/wiki/Features#Accelerated_upload_support so im not quite sure if i am missing something out as it has the same results enabled or disabled. I will start testing it with multiple clients and see if any difference. Thanks agai

Re: flush temp directory

2013-08-14 Thread ron ramos
10.254.12.84 - - [15/Aug/2013:11:03:32 +0800] "POST /curlupload.php HTTP/1.1" 200 359 "-" "-" "-" 33.218 1.208 . using php-cgi 10.254.12.84 - - [15/Aug/2013:11:48:57 +0800] "POST /curlupload.php HTTP/1.1" 200 359 "-" "-" "-&qu

flush temp directory

2013-08-14 Thread ron ramos
Hi All, I am trying to test accelerated upload on nginx/php-fpm/php-cgi setup and comparing different scenarios e.g one where /temp is a tmpfs, one where it is a disk partition and you will also notice where in i test using php-cgi. as i need to understand which can handle file uploads faster.

Re: block bot on uri with query_string

2013-07-28 Thread ron ramos
oh cool thanks i get what you mean. thanks for the help! Regards, Ron On Sun, Jul 28, 2013 at 5:07 PM, edogawaconan wrote: > On Sun, Jul 28, 2013 at 11:55 AM, ron ramos wrote: > > Hi All, > > > > Been trying to block bots from accessing a URI that has a query_string &

block bot on uri with query_string

2013-07-27 Thread ron ramos
Hi All, Been trying to block bots from accessing a URI that has a query_string "action=get_it", i tried below location ~* \?(action=get_it)$ { if ( $http_user_agent ~ (crawl|Googlebot|Slurp|spider|bingbot|tracker|click|parser|spider)) { return 40

Re: 104: Connection reset by peer

2013-05-08 Thread ron ramos
e > configuration is expecting then you'll have your answer. But you don't > provide information allowing to decide on this, and it seems you tried > blind changes only. > Could you provide your input requests rate? > --- > *B. R.* > > > On Wed, May 8, 2013 at 7:

Re: 104: Connection reset by peer

2013-05-08 Thread ron ramos
n this, and it seems you tried > blind changes only. > Could you provide your input requests rate? > --- > *B. R.* > > > On Wed, May 8, 2013 at 7:58 AM, ron ramos wrote: > >> hi, >> >> i've seen that info as well ( yes i tried searching for answers a

Re: 104: Connection reset by peer

2013-05-08 Thread ron ramos
lent about that. > > My 2 cents, > --- > *B. R.* > > > On Wed, May 8, 2013 at 7:29 AM, ron ramos wrote: > >> >> Hi All, >> >> I understand that this is a generic error, but it has been frustrating >> trying to solve this issue and i'm not

104: Connection reset by peer

2013-05-08 Thread ron ramos
Hi All, I understand that this is a generic error, but it has been frustrating trying to solve this issue and i'm not able to find an answer anywhere. basically i have an application which is running fine using apache, but we wanted to try nginx/php5-fpm: some parts of my application has this con

multiple docroot

2013-03-11 Thread ron ramos
Hi All, Is it possible to have multiple docroot for a single domain? and will load different docroot based on condition? our developers are currently developing our application but based on a new framework. so they would like to be able to have the legacy framework and the new framework to co-exi