Tagged: nginx RSS Toggle Comment Threads | Keyboard Shortcuts

  • ibnuyahya 8:54 pm on February 9, 2012 Permalink | Reply
    Tags: nginx   

    Installing nginx on mac osx 

    This time I would like to share with you on how easily to install nginx from source in your mac osx.

    1. Download and untar the file

    curl -O http:// nginx.org/download/nginx-1.1.14.tar.gz
    tar -xvf nginx-1.1.14.tar.gz
    

    make sure no space between http:// and nginx.org

    (More …)

     
    • ibnuyahya 9:54 pm on February 1, 2012 Permalink | Reply
      Tags: geoip, nginx   

      installing nginx geoip ubuntu server 

      installing geoip is pretty easy but sometime its a bit tricky. To ensure I’m not going to the same mistake, I do the following notes. Perhaps can help those facing same tricky mistake.

      1. InstallĀ libgeoip-dev

      aptitude install libgeoip-dev

      2. Compile your nginx and include –with-http_geoip_module

      ./configure --with-http_geoip_module

      Verify your nginx installation by typing

      nginx -V

      Watch –with-http_geoip_module . If you can see –with-http_geoip_module in your nginx -V result, thats mean geoip module successfully installed.
      (More …)

       
      • ibnuyahya 5:31 pm on December 28, 2011 Permalink | Reply
        Tags: contest, nginx   

        Nginx HTTP Server book give away 

        Nginx http server

        Saya ingin memberi buku ini secara percuma. Syarat-syaratnya mudah sahaja.

        1. Anda mestilah menetap di Malaysia.
        2. Klik facebook like pada page ini. ( mudah saja kan )
        3. Tinggalkan komen anda disini. Pastikan anda masukkan alamat email anda.
        4. Apakah jenis webserver dan version yang digunakan di laman http://ibnuyahya.com

        Pemenang akan diumumkan pada Khamis, 29 Dec 2011 Jam 8 malam. * Pemenang dipilih secara random dari komen-komen di bawah. ;P

        Update : 29/12/2011 8.00pm
        ramdom.org memilih Azim Norazmi sebagai pemilik buku ini. Sila hantar alamat anda ke ibnuyahya at gmail.com

        yang lain jangan bersedih ye. ada buku lebih nanti kita buat give away lagi. :)

        Nginx http server

         
        • calyph 5:50 pm on December 28, 2011 Permalink | Reply

          mai kat saya buku tu..yeahh..

        • Azim Norazmi 5:52 pm on December 28, 2011 Permalink | Reply

          aku kasi jwpn kat fb ko…. huhuhu

        • Azim Norazmi 5:59 pm on December 28, 2011 Permalink | Reply

          nginx 1.1.10.. hehe… jgn show jwpn dulu.. huhuu.. nanti dah abes competition baru tunjuk komen yg ada jwpn

        • calyph 6:38 pm on December 28, 2011 Permalink | Reply

          nah..bagi cara senang.. http://ibnuyahya.com/wewewewe.html ..hihiih. ErrorDocument kasi filter

        • Omar 8:39 pm on December 28, 2011 Permalink | Reply

          Menarik buku ni. Harap Random.org tu pilih.. haha

          Server apa? Nginx 1.1 pada Apache

          • Azim Norazmi 12:01 am on December 29, 2011 Permalink | Reply

            Boleh ek nginx on apache? hehe

            • ibnuyahya 6:54 am on December 29, 2011 Permalink | Reply

              nginx on apache?. nginx sebagai reverse proxy, boleh. nginx akan handle semua static content dan pas php kepada apache. maka tak perlu pening2 sebab php masih lagi running pada apache.

              • Azim Norazmi 11:07 am on December 29, 2011 Permalink | Reply

                Yang ko punya ni?

                • ibnuyahya 11:50 am on December 29, 2011 Permalink

                  nginx saja. rugi resource running apache & nginx. dah la server tak berapa power :)

        • ibnuyahya 8:05 pm on December 29, 2011 Permalink | Reply

          encik “Azim Norazmi ” Tahniah. sila hantar maklumat penghantar ke email aku ye. Lambat, aku bagi orang lain hahaha

        • calyph 2:34 pm on December 30, 2011 Permalink | Reply

          Alhamdulillah ….wahh.. Tahniah Azim.. nanti boleh la ajar aku nginx..he he. Ko detect camane..meh ajar sikit :D

      • ibnuyahya 8:42 pm on November 18, 2011 Permalink | Reply
        Tags: nginx,   

        Setting Nginx dan WordPress 

        Berikut adalah nginx configuration untuk WordPress dengan permalink.

        # Upstream to abstract backend connection(s) for php
        upstream php {
                server unix:/tmp/php-cgi.socket;
                server 127.0.0.1:9000;
        }
        
        server {
                ## Your website name goes here.
                server_name domain.tld;
                ## Your only path reference.
                root /var/www/wordpress;
                ## This should be in your http block and if it is, it's not needed here.
                index index.php;
        
                location = /favicon.ico {
                        log_not_found off;
                        access_log off;
                }
        
                location = /robots.txt {
                        allow all;
                        log_not_found off;
                        access_log off;
                }
        
                location / {
                        # This is cool because no php is touched for static content
                        try_files $uri $uri/ /index.php;
                }
        
                location ~ \.php$ {
                        #NOTE: You should have "cgi.fix_pathinfo = 0;" in php.ini
                        include fastcgi.conf;
                        fastcgi_intercept_errors on;
                        fastcgi_pass php;
                }
        
                location ~* \.(js|css|png|jpg|jpeg|gif|ico)$ {
                        expires max;
                        log_not_found off;
                }
        }
        
         
        • ibnuyahya 10:33 pm on October 29, 2011 Permalink | Reply
          Tags: nginx   

          I’m running on nginx 

          Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut scelerisque ligula nec neque dictum eget dictum leo pulvinar. Maecenas id orci id leo ornare bibendum. Donec et ante mi. Aliquam ullamcorper volutpat purus, vitae eleifend eros pharetra sit amet. Nulla porta adipiscing mi vel ultricies. Aliquam varius, eros eu congue hendrerit, augue nunc egestas odio, et rutrum nisi ante eget enim. Nullam interdum turpis vitae ipsum iaculis non rutrum nisi condimentum. Cras iaculis pharetra vulputate.

           
          c
          compose new post
          j
          next post/next comment
          k
          previous post/previous comment
          r
          reply
          e
          edit
          o
          show/hide comments
          t
          go to top
          l
          go to login
          h
          show/hide help
          shift + esc
          cancel