Find Jobs
Hire Freelancers

NGINX Configuration problem : 404 errors for pictures only in wp-content/uploads/

€8-30 EUR

Opravljeno
Objavljeno pred 3 meseci

€8-30 EUR

Plačilo ob dostavi
images on WordPress site are not showing up and I'm getting 404 errors for pictures only in wp-content/uploads/ folder. The problem is only on my second wordpress located in a /ecommerce subdirectory Vhost Editor : server { listen 80; listen [::]:80; listen 443 ssl http2; listen [::]:443 ssl http2; {{ssl_certificate_key}} {{ssl_certificate}} server_name [login to view URL]; return 301 [login to view URL]$request_uri; } server { listen 80; listen [::]:80; listen 443 ssl http2; listen [::]:443 ssl http2; {{ssl_certificate_key}} {{ssl_certificate}} server_name [login to view URL] [login to view URL]; {{root}} {{nginx_access_log}} {{nginx_error_log}} if ($scheme != "https") { rewrite ^ https://$host$uri permanent; } location ~ /.well-known { auth_basic off; allow all; } {{settings}} location ~/\.git { deny all; } location ~/(wp-admin/|[login to view URL]) { proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $remote_addr; proxy_set_header X-Forwarded-Host $http_host; proxy_set_header Host $host; proxy_pass [login to view URL]; proxy_max_temp_file_size 0; proxy_connect_timeout 7200; proxy_send_timeout 7200; proxy_read_timeout 7200; proxy_buffer_size 128k; proxy_buffers 4 256k; proxy_busy_buffers_size 256k; proxy_temp_file_write_size 256k; } location / { {{varnish_proxy_pass}} proxy_set_header Host $http_host; proxy_set_header X-Forwarded-Host $http_host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_hide_header X-Varnish; proxy_redirect off; proxy_max_temp_file_size 0; proxy_connect_timeout 720; proxy_send_timeout 720; proxy_read_timeout 720; proxy_buffer_size 128k; proxy_buffers 4 256k; proxy_busy_buffers_size 256k; proxy_temp_file_write_size 256k; } location ~* ^.+\.(css|js|jpg|jpeg|gif|png|ico|gz|svg|svgz|ttf|otf|woff|woff2|eot|mp4|ogg|ogv|webm|webp|zip|swf|map)$ { # WordPress Multisite Subdirectory rewrite ^/[_0-9a-zA-Z-]+(/wp-.*) $1 break; rewrite ^/[_0-9a-zA-Z-]+(/.*\.php)$ $1 break; add_header Access-Control-Allow-Origin "*"; expires max; access_log off; } if (-f $request_filename) { break; } } server { listen 8080; listen [::]:8080; server_name [login to view URL] [login to view URL]; {{root}} try_files $uri $uri/ /[login to view URL]$args; index [login to view URL] [login to view URL]; location ~ \.php$ { include fastcgi_params; fastcgi_intercept_errors on; fastcgi_index [login to view URL]; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; try_files $uri =404; fastcgi_read_timeout 3600; fastcgi_send_timeout 3600; fastcgi_param HTTPS "on"; fastcgi_param SERVER_PORT 443; fastcgi_pass [login to view URL]:{{php_fpm_port}}; fastcgi_param PHP_VALUE "{{php_settings}}"; } # WordPress Multisite Subdirectory if (!-e $request_filename) { rewrite /wp-admin$ https://$host$uri permanent; rewrite ^/[_0-9a-zA-Z-]+(/wp-.*) $1 last; rewrite ^/[_0-9a-zA-Z-]+(/.*\.php)$ $1 last; } if (-f $request_filename) { break; } # Pour le contenu dynamique PHP location /ecommerce { try_files $uri $uri/ /ecommerce/[login to view URL]$args; } # Pour les fichiers statiques location ~* ^/ecommerce/.+\.(css|js|jpg|jpeg|gif|png|ico|gz|svg|svgz|ttf|otf|woff|woff2|eot|mp4|ogg|ogv|webm|webp|zip|swf|map)$ { add_header Access-Control-Allow-Origin "*"; access_log off; expires max; log_not_found off; } }
ID projekta: 37768858

Več o projektu

12 ponudb
Projekt na daljavo
Aktivno pred 3 meseci

Želite zaslužiti?

Prednosti oddajanja ponudb na Freelancerju

Nastavite svoj proračun in časovni okvir
Prejmite plačilo za svoje delo
Povzetek predloga
Registracija in oddajanje ponudb sta brezplačna
Dodeljeno:
Avatar uporabnika
Hello, I understand that you're experiencing difficulties with the Nginx configuration for your WordPress site located in the "/ecommerce" subdirectory. Specifically, images are not loading, and you're encountering 404 errors for files within the "wp-content/uploads/" directory. With over 7 years of experience in web development and server management, I'm confident in my ability to assist you with resolving this issue promptly and effectively. To begin, I'll need to access your server to review the Nginx configuration and WordPress settings. I'll also need to review the server logs to identify the root cause of the issue. I'm available to start immediately and can complete this task within 1-2 hours. I'm also available for a brief call to discuss the issue and my approach to resolving it. Regards,
€30 EUR v 1 dnevu
4,9 (229 ocen)
7,3
7,3
12 freelancerjev je oddalo ponudbo s povprečno vrednostjo €24 EUR za to delo
Avatar uporabnika
Hello, right now I can help you I read through the job details extremely carefully and I am confident I can exceed your expectations. I have long experience with right skills to work on this project. I have received strong feedback on the ability to deliver high-quality work by the deadline. Here is a sample of my work: https://www.freelancer.in/u/gursukh/portfolio/opencart-httpswwwcaninoscombr-6063416 https://www.freelancer.in/u/gursukh/portfolio/magento1-httpcasppercombr-6063384 https://www.freelancer.in/u/gursukh/portfolio/joomla-httpscorellebrandsasiacom-6063327 https://www.freelancer.in/u/gursukh/portfolio/httpsprogletshirecouk-3844617 I look forward to hearing from you Thank you
€30 EUR v 1 dnevu
4,9 (547 ocen)
8,1
8,1
Avatar uporabnika
Hello, I will fix your WordPress images 404 error and make it work properly. I will start it right now. Waiting for your message.
€20 EUR v 1 dnevu
5,0 (777 ocen)
7,4
7,4
Avatar uporabnika
hello sir, can I go through uploading issue and what is going on exactly? Please provide me website details. I am ready to start. Thanks
€35 EUR v 1 dnevu
5,0 (353 ocen)
7,2
7,2
Avatar uporabnika
As an expert with 10 years of experience in web design and development, specializing in Linux, PHP and WordPress, your task to resolve the issue with images on your WordPress site would be well within my scope of expertise. I have a profound understanding of .htaccess files and nginx configurations, which is essential for this project. I have dealt with numerous similar issues in the past and every time my clients have walked away happy and satisfied. My skill set extends further into working on complex ERP, CRM, PPM projects utilizing .Net frameworks and heightened understanding of SQL. Moreover, I strive to provide not just short term fixes but long term solutions that ensure smooth operations for your WordPress site going forward. Customer satisfaction is my utmost priority. Pick me and consider your problem solved with the expectation of guaranteed security, performance optimization, SSL setup and effective nginx configuration that work seamlessly together.
€15 EUR v 2 dneh
4,9 (115 ocen)
6,0
6,0
Avatar uporabnika
Hi, in your nginx config file there is no error, i can analyze your server log and can find issue why its not showing image file, pls inbox me for more discussion best regards
€19 EUR v 1 dnevu
4,9 (82 ocen)
5,5
5,5
Avatar uporabnika
As an experienced web developer with over a decade of experience, I have successfully tackled and resolved numerous complex WordPress issues such as the one you're currently facing. My proficiency in PHP combined with my knowledge of WordPress internals makes me the ideal fit for this project. Specifically, your site is experiencing a significant images problem in your wp-content/uploads/ folder on your secondary WordPress installation located at /ecommerce subdirectory and has led to 404 errors. My vast experience in debugging WordPress issues coupled with my skills in the use of server blocks, location blocks, and try_files directive (ms) in configuring NGINX will help solve your issue swiftly and efficiently. Another highlight of my profile is that I am available 24/7 and reply to clients within 5-10 minutes. This means that when hired, you get prompt responses to your queries, consistent progress updates and fast delivery of tasks. In conclusion, I understand the frustration that comes with website malfunctioning and I'm committed to ensuring that your site's image issue is resolved quickly and effectively. Choose me for a seasoned pro to fix the problem, get friendly service, efficient delivery and utmost satisfaction for this project. I look forward to working with you soon!
€19 EUR v 1 dnevu
5,0 (39 ocen)
5,0
5,0
Avatar uporabnika
HI, I can help right now. Thanks
€29 EUR v 1 dnevu
5,0 (52 ocen)
4,6
4,6
Avatar uporabnika
Hello, I have 5 years of experience in linux server, vps,dedicated, WHM, Apache, centos, AWS ,nginx, windows server, Azure, DNS, i will setup and managment diifrenet linux servers like VPS, Dedicated, Server Security, Server Monitoring , Server Setup and Management, Backup Management , BackupServer Migration, SSL Installation, cpanel , Interspire Email Marketer. i will provide services such as nginx, WHM , canel, ssl,email marketing, bulk marketing, plex. please discuss Thank you..
€20 EUR v 1 dnevu
4,9 (40 ocen)
4,9
4,9
Avatar uporabnika
Hello, I have checked your requirements and really interested in this job. I am ready to start work immediately. I have 12+ years of experience in PHP, Laravel, Wordpress, Shopify, Magento, Opencart. I am to deliver our best service and you can check my profile and best reviews by client.
€19 EUR v 2 dneh
4,7 (17 ocen)
3,5
3,5
Avatar uporabnika
Mi propongo come candidata a lavorare in questo progetto inquanto professionalita e sperienza mi caratteriza
€19 EUR v 7 dneh
0,0 (0 ocen)
0,0
0,0

O stranki

Zastava FRANCE
Paris, France
5,0
6
Plačilna metoda je verificirana
Član(ica) od okt. 23, 2018

Verifikacija stranke

Hvala! Po e-pošti smo vam poslali povezavo za prevzem brezplačnega dobropisa.
Pri pošiljanju vašega e-sporočila je šlo nekaj narobe. Poskusite znova.
Registrirani uporabniki Skupaj objavljenih del
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Nalaganje predogleda
Geolociranje je bilo dovoljeno.
Vaša prijavna seja je potekla, zato ste bili odjavljeni. Prosimo, da se znova prijavite.