Set up squid on VPS.
Goal: Ensure a stable connection to the "My Warehouse" API through a server in Germany for reliable data synchronization.
Problem Description:
Servers:
Main site on VPS in Ukraine (NetX).
Second VPS in Germany to improve connection with "My Warehouse".
Network Issues:
The proxy connection through the German VPS is unstable, resulting in connection losses with the "My Warehouse" API.
Squid has already been installed on the VPS, but it is not functioning properly. What needs to be done:
1. Clean the system
Completely remove Squid and all related files, including:
/etc/squid/custom systemd services (for example,
squid-monitor.service)scripts like
squid_monitor.sh, if they exist
2. Install the latest stable version of Squid
Package installation or compilation (depending on recommendations)
Ensure the creation of a standard configuration file (
/etc/squid/squid.conf)Write the basic settings (can start with a simple
allow allfor testing)
3. Configure Squid to start automatically
Check
systemctl enable squidEnsure that Squid starts without errors after reboot
4. Implement monitoring and auto-recovery
Create a systemd service or another mechanism for automatic monitoring of the log
cache.logIn case of Squid failure – automatic restart
Logging to a separate file, log rotation – bonus
5. Check functionality
The proxy should respond to requests on port 3128
Work with
curl -xCheck through a real connection
-
З задачі зовсім не зрозуміло навіщо там саме Squid. Якщо є юадання - напишіть - обговоримо як краще зробити.
-
Current freelance projects in the category PHP
Fix CLSIt is necessary to fix the Cumulative Layout Shift through code PageSpeed does not see this problem, but through Google Chrome, it is visible that there is a layout shift for the desktop version of the page According to Google Search, there is an error regarding the speed of… PHP, Web Programming ∙ 15 hours 24 minutes back ∙ 24 proposals |
Transfer the fully ready adaptive HTML5 structure to WordPress.
267 USD
I am looking for an experienced WordPress developer who can convert our meticulously prepared static HTML5/CSS3 code into a high-performance custom WordPress theme. The frontend is almost ready (about 99%): semantic markup, metadata, and multilingual structure (hreflang) are… Content Management Systems, PHP ∙ 18 hours 16 minutes back ∙ 59 proposals |
GoPos IntegrationHello, has anyone done an integration of GoPos with a custom website for a restaurant in Poland? I need help, their documentation is very sparse, there is only swagger and it lacks descriptions. https://app.gopos.io/doc/swagger-ui/index.html The essence is this: we used their… PHP, Web Programming ∙ 1 day 10 hours back ∙ 24 proposals |
Write meta data for ALT using AIA website on Laravel, the site has many images for which it is necessary to automatically generate correct semantic and relevant ALT descriptions for the images, with the possibility of verification. AI & Machine Learning, PHP ∙ 2 days 7 hours back ∙ 33 proposals |
A developer is needed to complete and integrate a project for automatic data collection and processing.
16 USD
The main part of the parser has already been implemented. The parser works in a Windows environment through Microsoft Edge: the site has anti-bot protection, so data collection is performed not through direct HTTP requests, but through a live browser session. The scripts control… PHP, Web Programming ∙ 2 days 13 hours back ∙ 24 proposals |