Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- server {
- listen 80;
- root /home/dmarchuk/www/order.studentshare.net/frontend/web;
- index index.php;
- server_name order.es-student.loc;
- rewrite ^/customers.*$ /crm-widget.php last;
- location ~ /ctr {
- rewrite /ctr(.*) /$1 break;
- # proxy_pass http://crm-tpl.loc;
- # proxy_pass http://crm-template.prelive04.mcemcw.com;
- proxy_pass http://crm-template.test04.crmhub.org;
- proxy_read_timeout 600s;
- proxy_connect_timeout 600s;
- proxy_redirect default;
- proxy_set_header Upgrade $http_upgrade;
- proxy_set_header Connection "upgrade";
- }
- location / {
- try_files $uri $uri/ /index.php?$args;
- }
- #location ~* ^\/(css|assets|fonts|image|img|js).+\.(jpg|jpeg|gif|png|ico|css|bmp|js|swf|pdf|svg)$ {
- # root /home/vkarpenko/PhpstormProjects/order.studentshare.net/frontend/web;
- # expires max;
- # add_header Cache-Control public;
- # access_log off;
- # }
- location ~ \.php$ {
- include snippets/fastcgi-php.conf;
- #fastcgi_pass unix:/var/run/php/php5.6-fpm.sock;
- fastcgi_pass unix:/var/run/php/php7.1-fpm.sock;
- }
- location ~ /\.ht {
- deny all;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement