Find Jobs
Hire Freelancers

Nginx Plesk Fix For one domain and enable php 5 opcache

$10-30 USD

Đã hủy
Đã đăng vào khoảng 10 năm trước

$10-30 USD

Thanh toán khi bàn giao
I recently moved from a dedi to vps and everything works great apart from one domain. This now only seems to working with the apache module. Before fastcgi and Nginx with settings below worked perfect. I need to find someone who can find out whats going on and fix it. I also have installed php 5.5 i need someone to enable opcache and set up and test the cache properly. ## Taken from http://www.linux-magazin.de/Ausgaben/2012/01/Magento-Hosting/(offset)/4 # gzip compression gzip on; gzip_min_length 1100; gzip_buffers 4 8k; gzip_proxied any; gzip_types text/plain text/css application/x-javascript text/javascript application/json; ############################################ ## uncomment next line to enable light API calls processing #rewrite ^/api/([a-z][0-9a-z_]+)/?$ /[login to view URL]$1 break; ############################################ ## rewrite API2 calls to [login to view URL] (by now it is REST only) rewrite ^/api/rest /[login to view URL] last; ############################################ ## TRACE and TRACK HTTP methods disabled to prevent XSS attacks if ($request_method ~ "^TRAC[EK]") { return 405; } ############################################ location ~* \.(js|css|png|jpg|jpeg|gif|ico)$ { expires 30d; add_header Pragma public; add_header Cache-Control “public”; try_files $uri @fallback; } ############################################ ## always send 404 on missing files in these folders if ($uri !~ "^/(media|skin|js)/") { set $rewrite_to_index 1; } ########################################### ## Deny access to release notes to prevent disclosure of the installed Magento version if ($uri ~* "/[login to view URL]") { return 404; } # Don't rewrite if file exists if (-e $request_filename) { set $rewrite_to_index 0; } ############################################ ## rewrite everything else to [login to view URL] if ($rewrite_to_index = "1") { rewrite / /[login to view URL]; } ############################################ ## Prevent character encoding issues from server overrides ## If you still have problems, use the second line instead charset off; #charset utf-8; ############################################ ## Add default Expires header ## [login to view URL] expires 365d; ##Taken from [login to view URL] # Hide the system directories location ~ ^/(app|includes|lib|media/downloadable|pkginfo|report/[login to view URL]|var)/ { internal; } # Hide the hidden files location /. { return 404; }
Mã dự án: 5720600

Về dự án

1 đề xuất
Dự án từ xa
Hoạt động 10 năm trước

Bạn muốn kiếm tiền?

Lợi ích khi chào giá trên Freelancer

Thiết lập ngân sách và thời gian
Nhận thanh toán cho công việc
Phác thảo đề xuất của bạn
Miễn phí đăng ký và cháo giá cho công việc
1 freelancer chào giá trung bình $24 USD cho công việc này
Avatar người dùng
A proposal has not yet been provided
$24 USD trong 1 ngày
5,0 (179 nhận xét)
6,5
6,5

Về khách hàng

Cờ của UNITED KINGDOM
Slough, United Kingdom
4,9
156
Phương thức thanh toán đã xác thực
Thành viên từ thg 8 14, 2006

Xác thực khách hàng

Cảm ơn bạn! Chúng tôi đã gửi email chứa đường link để bạn lấy tín dụng miễn phí.
Đã xảy ra lỗi trong khi gửi email của bạn. Hãy thử lại.
Người Dùng Đã Đăng Ký Tổng Số Việc Đã Đăng
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Đang tải xem trước
Đã cấp quyền truy cập vị trí.
Phiên đăng nhập của bạn đã hết hạn và bạn đã bị đăng xuất. Hãy đăng nhập lại.