This site is developed to XHTML and CSS2 W3C standards. If you see this paragraph, your browser does not support those standards and you need to upgrade. Visit WaSP for a variety of options.

BamzeNET pastebin

Posted by mm Sat 28th Aug 18:49

001 
002 
003 
004 
005 
006 
007 
008 
009 
010 
011 
012 
013 
014 
015 
016 
017 
018 
019 
020 
021 
022 
023 
024 
025 
026 
027 
028 
029 
030 
031 
032 
033 
034 
035 
036 
037 
038 
039 
040 
041 
server {
          listen 8888;
          client_max_body_size 15M;
          server_name 10.11.10.1;
          allow 10.11.10.3;
 
         charset utf-8;
 
         location / {
             root /usr/local/www/nagios;
             index index.html index.php;
             rewrite ^/nagios/stylesheets/(.*)$ /../stylesheets/$1 break;
             rewrite ^/nagios/(.*)$ /$1 break;
             auth_basic "Nagios";
             auth_basic_user_file /usr/local/www/stats.pirate.se/users;
 
             fastcgi_pass 127.0.0.1:9000;
             fastcgi_param SCRIPT_FILENAME /usr/local/www/nagios$fastcgi_script_name;
             include       fastcgi_params;
             fastcgi_param AUTH_USER       $remote_user;
             fastcgi_param REMOTE_USER     $remote_user;
 
        }
        #location /usr/local/www/nagios/cgi-bin$ {
           location /cgi-bin {
          # root /usr/local/www/nagios/cgi-bin;
 
          #rewrite ^/cgi-bin/nagios/(.*)$ /$1;
 
          auth_basic "Nagios";
          auth_basic_user_file /usr/local/www/stats.pirate.se/users;
 
          fastcgi_pass   127.0.0.1:9001;
          #fastcgi_param SCRIPT_FILENAME /usr/local/www/nagios/cgi-bin$fastcgi_script_name;
          fastcgi_param SCRIPT_FILENAME $document_root/cgi-bin$fastcgi_script_name;
          fastcgi_param  AUTH_USER   $remote_user;
          fastcgi_param  REMOTE_USER $remote_user;
          include        fastcgi_params;
          }
 
 }


Submit a correction or amendment below. (click here to make a fresh posting)
Name

Remember my name in a cookie

To cope with spam please enter "im not a spambot" with first char in every word capitalized:


Code: To ensure legibility, keep your code lines under 80 characters long.
Include comments to indicate what you need feedback on.