Hello everybody. I've been searching the forum and google for this but didn't find any tutorial or wiki page. I have some server setup which needs some specific directives for each location and them always the same directives repeated for every loation. Example: server { listen 11.22.33.44:80; server_name example.com www.example.com; location ~ ^/index\.by sevy - How to...
I'm desperately looking for an NginX RPM package with ngx_http_secure_download_module for RHEL/CentOS5. Would you please point me to a link or point me to a detailed tutorial on how to compile it from source in order to obtain the same configuration I already have (nginx/1.1.14 from EPEL repo). Thanks in advance...by sevy - How to...
Thanks Igor, you are always the best! And it's pretty obvious when speaking with the programmer of the best http server of the planet :)by sevy - Nginx Mailing List - English
I've read the whole NginX wiki and couldn't find a solution yet. So would you be so gentle to tell me how to do this. I have two (2) domains on the same website. Let's say "www.first.com" and "www.second.com" The frontend php shares the same files and the only difference is in the layout so I must differentiate the layout based on the hostname header sent by client. My gby sevy - Nginx Mailing List - English
António P. P. Almeida Wrote: ------------------------------------------------------- > On 26 Jan 2011 21h11 WET, nginx-forum@nginx.us > wrote: > > > I'm going crazy with this since I can't get it > working in any way... > > > > I have a subdomain on a server, let's call it > images.site1.com, > > dedicated to serve images. Due to some bandwidth &by sevy - Nginx Mailing List - English
That was my typeing error cause I was writing this post on a text file before posting it. I just meant /oldfolder/ so forget the jpg at the end of the folder name.by sevy - Nginx Mailing List - English
You are welcome :)by sevy - How to...
I'm going crazy with this since I can't get it working in any way... I have a subdomain on a server, let's call it images.site1.com, dedicated to serve images. Due to some bandwidth limitation i got a more capable server so the webpages will remain on site1.com but the images will be moved to images.site2.com Since I had to change the names of images folders on the new server now I need to rby sevy - Nginx Mailing List - English
This should work... #path to pgrep command PGREP="/usr/bin/pgrep" # Httpd daemon name, HTTPD="nginx" # find httpd pid $PGREP ${HTTPD} if [ $? -ne 0 ] # if nginx not running then # restart nginx $RESTART fiby sevy - How to...
I'm going crazy with this since I can't get it working in any way... I have a subdomain on a server, let's call it images.site1.com, dedicated to serve images. Due to some bandwidth limitation i got a more capable server so the webpages will remain on site1.com but the images will be moved to images.site2.com Since I had to change the names of images folders on the new server now I need to rby sevy - How to...