Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # You may add here your
- # server {
- # ...
- # }
- # statements for each of your virtual hosts
- server {
- listen 80;
- server_name www.test.com;
- rewrite ^/(.*)$ http://test.com/$1 permanent;
- }
- #server {
- # listen 80;
- # server_name www.mehta.com;
- # rewrite ^/(.*)$ http://mehta.com/$1 permanent;
- #}
- server {
- listen 80;
- server_name test.com;
- access_log /var/log/nginx/localhost.access.log;
- error_log /var/log/nginx/error.log;
- root /usr/share/nginx/www/website;
- index index.php;
- ## serve imagecache files directly or redirect to drupal if they do not exist.
- location ~* files/styles {
- access_log off;
- expires 30d;
- try_files $uri @drupal;
- }
- ## serve imagecache files directly or redirect to drupal if they do not exist.
- location ~* ^.+.(xsl|xml)$ {
- access_log off;
- expires 1d;
- try_files $uri @drupal;
- }
- ## Default location
- location / {
- try_files $uri $uri/ @drupal;
- index index.php;
- }
- location @drupal {
- rewrite ^/(.*)$ /index.php?q=$1 last;
- # rewrite ^/(.*)$ index.php last;
- # rewrite ^/(.*)/(.*)$ /$1/index.php last;
- }
- ## Images and static content is treated different
- location ~* ^.+.(jpg|jpeg|gif|css|png|js|ico|xml)$ {
- access_log off;
- expires 30d;
- }
- ## Parse all .php file in the /var/www directory
- location ~ .php$ {
- include fastcgi_params;
- fastcgi_split_path_info ^(.+\.php)(.*)$;
- fastcgi_pass backend;
- fastcgi_index index.php;
- #rewrite ^ http://www.google.com?q=$document_root$fastcgi_script_name$query_string;
- fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
- fastcgi_param SCRIPT_NAME $fastcgi_script_name;
- fastcgi_param QUERY_STRING $query_string;
- fastcgi_param REQUEST_METHOD $request_method;
- fastcgi_param CONTENT_TYPE $content_type;
- fastcgi_param CONTENT_LENGTH $content_length;
- fastcgi_intercept_errors on;
- fastcgi_ignore_client_abort off;
- fastcgi_connect_timeout 60;
- fastcgi_send_timeout 180;
- fastcgi_read_timeout 180;
- fastcgi_buffer_size 128k;
- fastcgi_buffers 4 256k;
- fastcgi_busy_buffers_size 256k;
- fastcgi_temp_file_write_size 256k;
- }
- ## Disable viewing .htaccess & .htpassword
- location ~ /\.ht {
- deny all;
- }
- }
- server {
- listen 80;
- server_name dev.test.com 166.78.119.226;
- access_log /var/log/nginx/localhost.access.log;
- error_log /var/log/nginx/error.log;
- root /usr/share/nginx/www;
- index index.php;
- ## serve imagecache files directly or redirect to drupal if they do not exist.
- location ~* files/styles {
- access_log off;
- expires 30d;
- try_files $uri @drupal;
- }
- ## serve imagecache files directly or redirect to drupal if they do not exist.
- location ~* ^.+.(xsl|xml)$ {
- access_log off;
- expires 1d;
- try_files $uri @drupal;
- }
- ## Default location
- location / {
- try_files $uri $uri/ @drupal;
- index index.php;
- }
- location @drupal {
- # rewrite ^/(.*)$ /webdev.com/index.php?q=$1 last;
- # rewrite ^/(.*)$ index.php last;
- rewrite ^/(.*)/(.*)$ /$1/index.php last;
- }
- ## Images and static content is treated different
- location ~* ^.+.(jpg|jpeg|gif|css|png|js|ico|xml)$ {
- access_log off;
- expires 30d;
- }
- ## Parse all .php file in the /var/www directory
- location ~ .php$ {
- include fastcgi_params;
- fastcgi_split_path_info ^(.+\.php)(.*)$;
- fastcgi_pass backend;
- fastcgi_index index.php;
- #rewrite ^ http://www.google.com?q=$document_root$fastcgi_script_name$query_string;
- fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
- fastcgi_param SCRIPT_NAME $fastcgi_script_name;
- fastcgi_param QUERY_STRING $query_string;
- fastcgi_param REQUEST_METHOD $request_method;
- fastcgi_param CONTENT_TYPE $content_type;
- fastcgi_param CONTENT_LENGTH $content_length;
- fastcgi_intercept_errors on;
- fastcgi_ignore_client_abort off;
- fastcgi_connect_timeout 60;
- fastcgi_send_timeout 180;
- fastcgi_read_timeout 180;
- fastcgi_buffer_size 128k;
- fastcgi_buffers 4 256k;
- fastcgi_busy_buffers_size 256k;
- fastcgi_temp_file_write_size 256k;
- }
- ## Disable viewing .htaccess & .htpassword
- location ~ /\.ht {
- deny all;
- }
- }
- server {
- listen 80;
- server_name ghn.test.com;
- access_log /var/log/nginx/localhost.access.log;
- error_log /var/log/nginx/error.log;
- root /usr/share/nginx/www/ghn;
- index index.php;
- ## serve imagecache files directly or redirect to drupal if they do not exist.
- location ~* files/styles {
- access_log off;
- expires 30d;
- try_files $uri @drupal;
- }
- ## serve imagecache files directly or redirect to drupal if they do not exist.
- location ~* ^.+.(xsl|xml)$ {
- access_log off;
- expires 1d;
- try_files $uri @drupal;
- }
- ## Default location
- location / {
- try_files $uri $uri/ @drupal;
- index index.php;
- }
- location @drupal {
- rewrite ^/(.*)$ /index.php?q=$1 last;
- # rewrite ^/(.*)$ index.php last;
- # rewrite ^/(.*)/(.*)$ /$1/index.php last;
- }
- ## Images and static content is treated different
- location ~* ^.+.(jpg|jpeg|gif|css|png|js|ico|xml)$ {
- access_log off;
- expires 30d;
- }
- ## Parse all .php file in the /var/www directory
- location ~ .php$ {
- include fastcgi_params;
- fastcgi_split_path_info ^(.+\.php)(.*)$;
- fastcgi_pass backend;
- fastcgi_index index.php;
- #rewrite ^ http://www.google.com?q=$document_root$fastcgi_script_name$query_string;
- fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
- fastcgi_param SCRIPT_NAME $fastcgi_script_name;
- fastcgi_param QUERY_STRING $query_string;
- fastcgi_param REQUEST_METHOD $request_method;
- fastcgi_param CONTENT_TYPE $content_type;
- fastcgi_param CONTENT_LENGTH $content_length;
- fastcgi_intercept_errors on;
- fastcgi_ignore_client_abort off;
- fastcgi_connect_timeout 60;
- fastcgi_send_timeout 180;
- fastcgi_read_timeout 180;
- fastcgi_buffer_size 128k;
- fastcgi_buffers 4 256k;
- fastcgi_busy_buffers_size 256k;
- fastcgi_temp_file_write_size 256k;
- }
- ## Disable viewing .htaccess & .htpassword
- location ~ /\.ht {
- deny all;
- }
- }
- server {
- listen 80;
- server_name cle.test.com;
- access_log /var/log/nginx/localhost.access.log;
- error_log /var/log/nginx/error.log;
- root /usr/share/nginx/www/cle;
- index index.php;
- ## serve imagecache files directly or redirect to drupal if they do not exist.
- location ~* files/styles {
- access_log off;
- expires 30d;
- try_files $uri @drupal;
- }
- ## serve imagecache files directly or redirect to drupal if they do not exist.
- location ~* ^.+.(xsl|xml)$ {
- access_log off;
- expires 1d;
- try_files $uri @drupal;
- }
- ## Default location
- location / {
- try_files $uri $uri/ @drupal;
- index index.php;
- }
- location @drupal {
- # rewrite ^/(.*)$ /webdev.com/index.php?q=$1 last;
- # rewrite ^/(.*)$ index.php last;
- rewrite ^/(.*)/(.*)$ /$1/index.php last;
- }
- ## Images and static content is treated different
- location ~* ^.+.(jpg|jpeg|gif|css|png|js|ico|xml)$ {
- access_log off;
- expires 30d;
- }
- ## Parse all .php file in the /var/www directory
- location ~ .php$ {
- include fastcgi_params;
- fastcgi_split_path_info ^(.+\.php)(.*)$;
- fastcgi_pass backend;
- fastcgi_index index.php;
- #rewrite ^ http://www.google.com?q=$document_root$fastcgi_script_name$query_string;
- fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
- fastcgi_param SCRIPT_NAME $fastcgi_script_name;
- fastcgi_param QUERY_STRING $query_string;
- fastcgi_param REQUEST_METHOD $request_method;
- fastcgi_param CONTENT_TYPE $content_type;
- fastcgi_param CONTENT_LENGTH $content_length;
- fastcgi_intercept_errors on;
- fastcgi_ignore_client_abort off;
- fastcgi_connect_timeout 60;
- fastcgi_send_timeout 180;
- fastcgi_read_timeout 180;
- fastcgi_buffer_size 128k;
- fastcgi_buffers 4 256k;
- fastcgi_busy_buffers_size 256k;
- fastcgi_temp_file_write_size 256k;
- }
- ## Disable viewing .htaccess & .htpassword
- location ~ /\.ht {
- deny all;
- }
- }
- server {
- listen 80;
- server_name dev2.test.com;
- access_log /var/log/nginx/localhost.access.log;
- error_log /var/log/nginx/error.log;
- root /usr/share/nginx/www;
- index index.php;
- ## serve imagecache files directly or redirect to drupal if they do not exist.
- location ~* files/styles {
- access_log off;
- expires 30d;
- try_files $uri @drupal;
- }
- ## serve imagecache files directly or redirect to drupal if they do not exist.
- location ~* ^.+.(xsl|xml)$ {
- access_log off;
- expires 1d;
- try_files $uri @drupal;
- }
- ## Default location
- location / {
- try_files $uri $uri/ @drupal;
- index index.php;
- }
- location @drupal {
- rewrite ^/(.*)/(.*)$ /$1/index.php?q=$2 last;
- # rewrite ^/(.*)$ index.php last;
- # rewrite ^/(.*)/(.*)$ /$1/index.php last;
- }
- ## Images and static content is treated different
- location ~* ^.+.(jpg|jpeg|gif|css|png|js|ico|xml)$ {
- access_log off;
- expires 30d;
- }
- ## Parse all .php file in the /var/www directory
- location ~ .php$ {
- include fastcgi_params;
- fastcgi_split_path_info ^(.+\.php)(.*)$;
- fastcgi_pass backend;
- fastcgi_index index.php;
- #rewrite ^ http://www.google.com?q=$document_root$fastcgi_script_name$query_string;
- fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
- fastcgi_param SCRIPT_NAME $fastcgi_script_name;
- fastcgi_param QUERY_STRING $query_string;
- fastcgi_param REQUEST_METHOD $request_method;
- fastcgi_param CONTENT_TYPE $content_type;
- fastcgi_param CONTENT_LENGTH $content_length;
- fastcgi_intercept_errors on;
- fastcgi_ignore_client_abort off;
- fastcgi_connect_timeout 60;
- fastcgi_send_timeout 180;
- fastcgi_read_timeout 180;
- fastcgi_buffer_size 128k;
- fastcgi_buffers 4 256k;
- fastcgi_busy_buffers_size 256k;
- fastcgi_temp_file_write_size 256k;
- }
- ## Disable viewing .htaccess & .htpassword
- location ~ /\.ht {
- deny all;
- }
- }
- server {
- listen 80;
- server_name ecs.test.com;
- access_log /var/log/nginx/localhost.access.log;
- error_log /var/log/nginx/error.log;
- root /usr/share/nginx/www/ecs;
- index index.php;
- ## serve imagecache files directly or redirect to drupal if they do not exist.
- location ~* files/styles {
- access_log off;
- expires 30d;
- try_files $uri @drupal;
- }
- ## serve imagecache files directly or redirect to drupal if they do not exist.
- location ~* ^.+.(xsl|xml)$ {
- access_log off;
- expires 1d;
- try_files $uri @drupal;
- }
- ## Default location
- location / {
- try_files $uri $uri/ @drupal;
- index index.php;
- }
- location @drupal {
- rewrite ^/(.*)$ /index.php?q=$1 last;
- # rewrite ^/(.*)$ index.php last;
- # rewrite ^/(.*)/(.*)$ /$1/index.php last;
- }
- ## Images and static content is treated different
- location ~* ^.+.(jpg|jpeg|gif|css|png|js|ico|xml)$ {
- access_log off;
- expires 30d;
- }
- ## Parse all .php file in the /var/www directory
- location ~ .php$ {
- include fastcgi_params;
- fastcgi_split_path_info ^(.+\.php)(.*)$;
- fastcgi_pass backend;
- fastcgi_index index.php;
- #rewrite ^ http://www.google.com?q=$document_root$fastcgi_script_name$query_string;
- fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
- fastcgi_param SCRIPT_NAME $fastcgi_script_name;
- fastcgi_param QUERY_STRING $query_string;
- fastcgi_param REQUEST_METHOD $request_method;
- fastcgi_param CONTENT_TYPE $content_type;
- fastcgi_param CONTENT_LENGTH $content_length;
- fastcgi_intercept_errors on;
- fastcgi_ignore_client_abort off;
- fastcgi_connect_timeout 60;
- fastcgi_send_timeout 180;
- fastcgi_read_timeout 180;
- fastcgi_buffer_size 128k;
- fastcgi_buffers 4 256k;
- fastcgi_busy_buffers_size 256k;
- fastcgi_temp_file_write_size 256k;
- }
- ## Disable viewing .htaccess & .htpassword
- location ~ /\.ht {
- deny all;
- }
- }
- server {
- listen 80;
- server_name pw.test.com;
- access_log /var/log/nginx/localhost.access.log;
- error_log /var/log/nginx/error.log;
- root /usr/share/nginx/www/pw;
- index index.php;
- ## serve imagecache files directly or redirect to drupal if they do not exist.
- location ~* files/styles {
- access_log off;
- expires 30d;
- try_files $uri @drupal;
- }
- ## serve imagecache files directly or redirect to drupal if they do not exist.
- location ~* ^.+.(xsl|xml)$ {
- access_log off;
- expires 1d;
- try_files $uri @drupal;
- }
- ## Default location
- location / {
- try_files $uri $uri/ @drupal;
- index index.php;
- }
- location @drupal {
- rewrite ^/(.*)$ /index.php?q=$1 last;
- # rewrite ^/(.*)$ index.php last;
- # rewrite ^/(.*)/(.*)$ /$1/index.php last;
- }
- ## Images and static content is treated different
- location ~* ^.+.(jpg|jpeg|gif|css|png|js|ico|xml)$ {
- access_log off;
- expires 30d;
- }
- ## Parse all .php file in the /var/www directory
- location ~ .php$ {
- include fastcgi_params;
- fastcgi_split_path_info ^(.+\.php)(.*)$;
- fastcgi_pass backend;
- fastcgi_index index.php;
- #rewrite ^ http://www.google.com?q=$document_root$fastcgi_script_name$query_string;
- fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
- fastcgi_param SCRIPT_NAME $fastcgi_script_name;
- fastcgi_param QUERY_STRING $query_string;
- fastcgi_param REQUEST_METHOD $request_method;
- fastcgi_param CONTENT_TYPE $content_type;
- fastcgi_param CONTENT_LENGTH $content_length;
- fastcgi_intercept_errors on;
- fastcgi_ignore_client_abort off;
- fastcgi_connect_timeout 60;
- fastcgi_send_timeout 180;
- fastcgi_read_timeout 180;
- fastcgi_buffer_size 128k;
- fastcgi_buffers 4 256k;
- fastcgi_busy_buffers_size 256k;
- fastcgi_temp_file_write_size 256k;
- }
- ## Disable viewing .htaccess & .htpassword
- location ~ /\.ht {
- deny all;
- }
- }
- server {
- listen 80;
- server_name ebay-stories.test.com;
- access_log /var/log/nginx/localhost.access.log;
- error_log /var/log/nginx/error.log;
- root /usr/share/nginx/www/ebay-stories;
- index index.php;
- ## serve imagecache files directly or redirect to drupal if they do not exist.
- location ~* files/styles {
- access_log off;
- expires 30d;
- try_files $uri @drupal;
- }
- ## serve imagecache files directly or redirect to drupal if they do not exist.
- location ~* ^.+.(xsl|xml)$ {
- access_log off;
- expires 1d;
- try_files $uri @drupal;
- }
- ## Default location
- location / {
- try_files $uri $uri/ @drupal;
- index index.php;
- }
- location @drupal {
- rewrite ^/(.*)$ /index.php?q=$1 last;
- # rewrite ^/(.*)$ index.php last;
- # rewrite ^/(.*)/(.*)$ /$1/index.php last;
- }
- ## Images and static content is treated different
- location ~* ^.+.(jpg|jpeg|gif|css|png|js|ico|xml)$ {
- access_log off;
- expires 30d;
- }
- ## Parse all .php file in the /var/www directory
- location ~ .php$ {
- include fastcgi_params;
- fastcgi_split_path_info ^(.+\.php)(.*)$;
- fastcgi_pass backend;
- fastcgi_index index.php;
- #rewrite ^ http://www.google.com?q=$document_root$fastcgi_script_name$query_string;
- fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
- fastcgi_param SCRIPT_NAME $fastcgi_script_name;
- fastcgi_param QUERY_STRING $query_string;
- fastcgi_param REQUEST_METHOD $request_method;
- fastcgi_param CONTENT_TYPE $content_type;
- fastcgi_param CONTENT_LENGTH $content_length;
- fastcgi_intercept_errors on;
- fastcgi_ignore_client_abort off;
- fastcgi_connect_timeout 60;
- fastcgi_send_timeout 180;
- fastcgi_read_timeout 180;
- fastcgi_buffer_size 128k;
- fastcgi_buffers 4 256k;
- fastcgi_busy_buffers_size 256k;
- fastcgi_temp_file_write_size 256k;
- }
- ## Disable viewing .htaccess & .htpassword
- location ~ /\.ht {
- deny all;
- }
- }
- server {
- listen 80;
- server_name interview.test.com;
- access_log /var/log/nginx/localhost.access.log;
- error_log /var/log/nginx/error.log;
- root /usr/share/nginx/www/interview;
- index index.php;
- ## serve imagecache files directly or redirect to drupal if they do not exist.
- location ~* files/styles {
- access_log off;
- expires 30d;
- try_files $uri @drupal;
- }
- ## serve imagecache files directly or redirect to drupal if they do not exist.
- location ~* ^.+.(xsl|xml)$ {
- access_log off;
- expires 1d;
- try_files $uri @drupal;
- }
- ## Default location
- location / {
- try_files $uri $uri/ @drupal;
- index index.php;
- }
- location @drupal {
- rewrite ^/(.*)$ /index.php?q=$1 last;
- # rewrite ^/(.*)$ index.php last;
- # rewrite ^/(.*)/(.*)$ /$1/index.php last;
- }
- ## Images and static content is treated different
- location ~* ^.+.(jpg|jpeg|gif|css|png|js|ico|xml)$ {
- access_log off;
- expires 30d;
- }
- ## Parse all .php file in the /var/www directory
- location ~ .php$ {
- include fastcgi_params;
- fastcgi_split_path_info ^(.+\.php)(.*)$;
- fastcgi_pass backend;
- fastcgi_index index.php;
- #rewrite ^ http://www.google.com?q=$document_root$fastcgi_script_name$query_string;
- fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
- fastcgi_param SCRIPT_NAME $fastcgi_script_name;
- fastcgi_param QUERY_STRING $query_string;
- fastcgi_param REQUEST_METHOD $request_method;
- fastcgi_param CONTENT_TYPE $content_type;
- fastcgi_param CONTENT_LENGTH $content_length;
- fastcgi_intercept_errors on;
- fastcgi_ignore_client_abort off;
- fastcgi_connect_timeout 60;
- fastcgi_send_timeout 180;
- fastcgi_read_timeout 180;
- fastcgi_buffer_size 128k;
- fastcgi_buffers 4 256k;
- fastcgi_busy_buffers_size 256k;
- fastcgi_temp_file_write_size 256k;
- }
- ## Disable viewing .htaccess & .htpassword
- location ~ /\.ht {
- deny all;
- }
- }
- server {
- listen 80;
- server_name ebay-biz.test.com;
- access_log /var/log/nginx/localhost.access.log;
- error_log /var/log/nginx/error.log;
- root /usr/share/nginx/www/ebay-biz;
- index index.php;
- ## serve imagecache files directly or redirect to drupal if they do not exist.
- location ~* files/styles {
- access_log off;
- expires 30d;
- try_files $uri @drupal;
- }
- ## serve imagecache files directly or redirect to drupal if they do not exist.
- location ~* ^.+.(xsl|xml)$ {
- access_log off;
- expires 1d;
- try_files $uri @drupal;
- }
- ## Default location
- location / {
- try_files $uri $uri/ @drupal;
- index index.php;
- }
- location @drupal {
- rewrite ^/(.*)$ /index.php?q=$1 last;
- # rewrite ^/(.*)$ index.php last;
- # rewrite ^/(.*)/(.*)$ /$1/index.php last;
- }
- ## Images and static content is treated different
- location ~* ^.+.(jpg|jpeg|gif|css|png|js|ico|xml)$ {
- access_log off;
- expires 30d;
- }
- ## Parse all .php file in the /var/www directory
- location ~ .php$ {
- include fastcgi_params;
- fastcgi_split_path_info ^(.+\.php)(.*)$;
- fastcgi_pass backend;
- fastcgi_index index.php;
- #rewrite ^ http://www.google.com?q=$document_root$fastcgi_script_name$query_string;
- fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
- fastcgi_param SCRIPT_NAME $fastcgi_script_name;
- fastcgi_param QUERY_STRING $query_string;
- fastcgi_param REQUEST_METHOD $request_method;
- fastcgi_param CONTENT_TYPE $content_type;
- fastcgi_param CONTENT_LENGTH $content_length;
- fastcgi_intercept_errors on;
- fastcgi_ignore_client_abort off;
- fastcgi_connect_timeout 60;
- fastcgi_send_timeout 180;
- fastcgi_read_timeout 180;
- fastcgi_buffer_size 128k;
- fastcgi_buffers 4 256k;
- fastcgi_busy_buffers_size 256k;
- fastcgi_temp_file_write_size 256k;
- }
- ## Disable viewing .htaccess & .htpassword
- location ~ /\.ht {
- deny all;
- }
- }
- server {
- listen 80;
- server_name autoweek.test.com;
- access_log /var/log/nginx/localhost.access.log;
- error_log /var/log/nginx/error.log;
- root /usr/share/nginx/www/autoweek-dev2;
- index index.php;
- ## serve imagecache files directly or redirect to drupal if they do not exist.
- location ~* files/styles {
- access_log off;
- expires 30d;
- try_files $uri @drupal;
- }
- ## serve imagecache files directly or redirect to drupal if they do not exist.
- location ~* ^.+.(xsl|xml)$ {
- access_log off;
- expires 1d;
- try_files $uri @drupal;
- }
- ## Default location
- location / {
- try_files $uri $uri/ @drupal;
- index index.php;
- }
- location @drupal {
- rewrite ^/(.*)$ /index.php?q=$1 last;
- # rewrite ^/(.*)$ index.php last;
- # rewrite ^/(.*)/(.*)$ /$1/index.php last;
- }
- ## Images and static content is treated different
- location ~* ^.+.(jpg|jpeg|gif|css|png|js|ico|xml)$ {
- access_log off;
- expires 30d;
- }
- ## Parse all .php file in the /var/www directory
- location ~ .php$ {
- include fastcgi_params;
- fastcgi_split_path_info ^(.+\.php)(.*)$;
- fastcgi_pass backend;
- fastcgi_index index.php;
- #rewrite ^ http://www.google.com?q=$document_root$fastcgi_script_name$query_string;
- fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
- fastcgi_param SCRIPT_NAME $fastcgi_script_name;
- fastcgi_param QUERY_STRING $query_string;
- fastcgi_param REQUEST_METHOD $request_method;
- fastcgi_param CONTENT_TYPE $content_type;
- fastcgi_param CONTENT_LENGTH $content_length;
- fastcgi_intercept_errors on;
- fastcgi_ignore_client_abort off;
- fastcgi_connect_timeout 60;
- fastcgi_send_timeout 180;
- fastcgi_read_timeout 180;
- fastcgi_buffer_size 128k;
- fastcgi_buffers 4 256k;
- fastcgi_busy_buffers_size 256k;
- fastcgi_temp_file_write_size 256k;
- }
- ## Disable viewing .htaccess & .htpassword
- location ~ /\.ht {
- deny all;
- }
- }
- upstream backend {
- server 127.0.0.1:9000;
- }
Advertisement
Add Comment
Please, Sign In to add comment