Настройка сервера Apach 2.4 (backend) + Nginx (front) php56W-fpm
Здраствуйте, нужна помощь в настройке виртуального сервера VPS на centos 7. Связка Apach 2.4 (backend) + Nginx (front) php56W-fpm? точнее правильно сформировать файл конфигурации.
Сайт на opencart.pro 2.1 и неадекватно работаеn Seo pro. Не отображается карточка товара. получаю ошибку
404 Not Found
nginx/1.13.9
файл конфигурации Nginx для сайта alcoduty.com.ua
server {
listen 185.65.245.67:80 ;
server_name alcoduty.com.ua www.alcoduty.com.ua;
root /home/alcohol/sites/alcoduty.com.ua;
access_log /etc/nginx/vhost_logs/alcoduty.com.ua_access;
error_log /etc/nginx/vhost_logs/alcoduty.com.ua_error;
rewrite ^(.*) https://$http_host$request_uri permanent;
location ~ /.well-known { allow all; }
# location ~* robots.txt { root /etc/nginx; }
location ~ /\.ht {
deny all;
access_log off;
log_not_found off;
}
gzip on;
gzip_disable "MSIE [1-6]\.(?!.*SV1)";
gzip_comp_level 3;
gzip_types text/plain text/css application/json application/x-javascript text/html text/xml application/xml application/xml+rss text/javascript application/javascript;
location ~* ^.+\.(avi|bmp|png|css|doc|gif|htm|html|ico|jpeg|jpg|js|mp3|swf|txt|xls|zip|wml|wmlc|wmls|wmlsc|wbmp|fla|flv|xml|mpg|mpeg|pdf|woff|eot|otf|svg|ttf|woff2|docx|xlsx|ppt|pptx|webp|mp4)$ {
root /home/alcohol/sites/alcoduty.com.ua;
expires 259200s;
proxy_set_header Host $host;
}
location / {
root /home/alcohol/sites/alcoduty.com.ua;
proxy_pass http://185.65.245.67:8080;
proxy_redirect off;
proxy_force_ranges on;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_cache off;
proxy_cache_key "$request_method|$http_if_modified_since|$http_if_none_match|$host|$request_uri";
#access_log /etc/nginx/vhost_logs//home/alcohol/sites/alcoduty.com.ua;
proxy_cache_valid 3s;
proxy_cache_min_uses 2;
# proxy_cache_lock on;
# proxy_cache_use_stale error timeout;
# proxy_cache_use_stale updating http_502 http_504;
limit_conn lone 50;
# limit_req zone=ltwo burst=10;
client_max_body_size 24m;
client_body_buffer_size 128k;
proxy_connect_timeout 90;
proxy_send_timeout 90;
proxy_read_timeout 90;
proxy_buffer_size 4k;
proxy_buffers 8 32k;
proxy_busy_buffers_size 64k;
proxy_temp_file_write_size 10m;
}
# error_page 404 /404.html;
# location = /40x.html {
# }
# error_page 500 502 503 504 /50x.html;
# location = /50x.html {
# }
}
-
2130 199 1 4 Обращайтесь - сделаю в лучшем виде.
Опыт администрирования 17 лет.
Примеры клиентов для которых настраивал и поддерживаю сервера можно посмотреть на моем сайте - https://dl.sm.ua/clients/administer.html
При желании возможна работа по договору с оплатой на р/с (оформлен ФОП, 3-я группа).
__________
С уважением, Дмитрий Лаврик
WWW: https://dl.sm.ua
Facebook: https://www.facebook.com/dmytro.lavryk
E-mail: [email protected]
… Skype: dmytro.lavryk
Telegram: dlsumy
Тел. (viber): +380506037953
-
418 142 0 Доброго дня.
Готовий взятись за ваш проект. Все зроблю швидко і якісно.
-
1173 110 4 Здравствуйте, готов настроить всё правильно.
Обращайтесь, буду рад сотрудничеству.
Current freelance projects in the category PHP
Execution of work after SEO audit
334 USD
An experienced OpenCart developer is needed to perform SEO and technical improvements for the online store. Main tasks: Correction of the internal linking structure and menu. Adding links to the footer. Implementation of breadcrumbs with Schema.org microdata. Fixing the… PHP, Website Maintenance ∙ 2 days 9 hours back ∙ 59 proposals |
Fix issues with Facebook API in the OpenCart moduleIn OpenCart, there is a module for integrating Facebook and Instagram via API, OAuth, and Webhook. After opening the module page in the browser, the number of API requests to Facebook starts to increase, and the number of errors gr:get:InvalidID also rises. It is necessary to… PHP, Web Programming ∙ 2 days 10 hours back ∙ 39 proposals |
Integration needed: KeyCRM → Cash Register KashalotIt is necessary to set up integration between KeyCRM and the Cash Register Kahalot. When placing an order in KeyCRM, the data must be automatically transmitted to Kahalot: • order information • products, nomenclature • prices • quantity More details in private. Content Management Systems, PHP ∙ 5 days 6 hours back ∙ 29 proposals |
A WordPress site using the Kadence theme and Kadence Blocks.
223 USD
We need to create a website on WordPress using the Kadence theme and Kadence Blocks. There will be no online store (although it may be added in the future). We need a homepage and several internal pages. The graphics are already prepared, the layout structure is mostly defined,… Content Management Systems, PHP ∙ 6 days 15 hours back ∙ 38 proposals |
Development of 2 SEO-oriented websites for selling spare parts (ATVs and special equipment)Development of Two Specialized Websites for Selling Spare PartsGeneral Information It is necessary to develop two specialized websites: Spare parts for ATVs, UTVs, SSVs, and other similar equipment. Spare parts for special equipment. Existing company website:… PHP, Web Programming ∙ 7 days 12 hours back ∙ 77 proposals |