Sobes.tech
Junior

What is your experience with Linux and web servers like Nginx, as well as mail servers?

sobes.tech AI

Answer from AI

I have extensive experience working with Linux family operating systems (Debian, Ubuntu, CentOS/RHEL), including installation, configuration, administration, and troubleshooting. I am confident in working with the command line and scripting in Bash.

I have worked with Nginx web servers:

  • Configuration of virtual hosts, SSL/TLS certificates.
  • Setting up proxying (reverse proxy), load balancing.
  • Performance optimization (caching, compression).
  • Integration with PHP-FPM, FastCGI.

Example of a virtual host configuration for Nginx:

server {
    listen 80;
    listen [::]:80;
    server_name myapp.com www.myapp.com;

    location / {
        proxy_pass http://backend_app; // Proxy requests to backend
        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_set_header X-Forwarded-Proto $scheme;
    }

    # Configuration for static files
    # location ~* \.(js|css|png|jpg|jpeg|gif|ico)$ {
    #    expires 30d;
    #    add_header Cache-Control "public, no-transform";
    # }

    error_page 500 502 503 504 /50x.html;
    location = /50x.html {
        root /usr/share/nginx/html;
    }
}

I have experience working with mail servers, mainly Postfix and Dovecot, including:

  • Installation and basic configuration.
  • Configuring SPF, DKIM, DMARC to improve deliverability.
  • Setting up spam filtering (using SpamAssassin).
  • Managing users and domains.
  • Monitoring logs and troubleshooting issues.

Example of a Postfix configuration snippet for relay restrictions:

# postconf -n mynetworks
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 192.168.1.0/24 // Allowed networks for relaying