← Back
Editing: whitecell.uz.conf
server { listen 188.208.197.7:80; server_name whitecell.uz www.whitecell.uz; ## redirect https to http ## return 301 https://$server_name$request_uri; } server { listen 188.208.197.7:443 ssl; server_name whitecell.uz www.whitecell.uz; ssl_certificate /etc/letsencrypt/live/whitecell.uz/fullchain.pem; # managed by Certbot ssl_certificate_key /etc/letsencrypt/live/whitecell.uz/privkey.pem; # managed by Certbot include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot access_log /home/barventuz/logs/whitecell.uz-nginx.access.log; error_log /home/barventuz/logs/whitecell.uz-nginx.error.log; root /home/barventuz/public_html/whitecell.uz; index index.php index.html; include common/deny.conf; include common/security.conf; ## redirect to core domain location / { return 301 https://barvent.uz/products/kley-dlya-stroitelnyx-materialov; } }
Save File
Cancel