daily pastebin goal
26%
SHARE
TWEET

Untitled

a guest Jun 13th, 2018 57 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [root@hml-redefacil conf.d]# cat hml.redefacilbrasil.com.pt.conf
  2.  
  3. server {
  4.  
  5.     listen 80;
  6.  
  7.     server_name hml.redefacilbrasil.com.pt;
  8.  
  9.     root /var/www/html/redefacilbrasilpt/hml;
  10.  
  11.     index index.php;
  12.  
  13.  
  14.  
  15.  
  16.     client_max_body_size            50m;
  17.     client_body_buffer_size     256k;
  18.     location ~ /favicon.ico {
  19.         log_not_found off;
  20.         access_log off;
  21.     }
  22.     location = /robots.txt {
  23.         allow all;
  24.         log_not_found off;
  25.         access_log off;
  26.     }
  27.  
  28.     location ~* /qcommerce/propel {
  29.         deny all;
  30.     }
  31.     location ~* /qcommerce/integracao {
  32.         deny all;
  33.     }
  34.     location ~* /qcommerce/(.*)/*.php$ {
  35.         rewrite ^ /web/index.php?$args;
  36.     }
  37.     location ~* /web/cron/(.*)/*.php$ {
  38.         rewrite ^ /web/index.php?$args;
  39.     }
  40.     location ~* /web/admin/(.*)/*.php$ {
  41.         try_files $uri $uri/ /web/index.php?$args;
  42.     }
  43.     location / {
  44.         try_files $uri $uri/ /web/index.php?$args;
  45.     }
  46.     location ~ .php$ {
  47.          fastcgi_pass            127.0.0.1:9000;
  48.          fastcgi_param           SCRIPT_FILENAME  $document_root$fastcgi_script_name;
  49.          fastcgi_index           app.php;
  50.          include                 fastcgi_params;
  51.          fastcgi_read_timeout    600;
  52.          fastcgi_send_timeout    600;
  53.          fastcgi_connect_timeout 600;
  54.     }
  55.  
  56. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top