← Back
Editing: asdafood.uz.conf_11
server { listen 188.208.197.7:80; server_name asdafood.uz www.asdafood.uz; ## redirect https to http ## # return 301 https://$server_name$request_uri; #} #server { # listen 188.208.197.7:443 ssl; # server_name asdafood.uz www.asdafood.uz; # ssl_certificate /etc/letsencrypt/live/asdafood.uz/fullchain.pem; # managed by Certbot # ssl_certificate_key /etc/letsencrypt/live/asdafood.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/asdafood.uz-nginx.access.log; error_log /home/barventuz/logs/asdafood.uz-nginx.error.log; root /home/barventuz/public_html/asdafood.uz; index index.php index.html; ## redirect to core domain if ($host = 'www.asdafood.uz') { return 301 https://barvent.uz/products/pishevoy-zagustitel$request_uri; } if ($host = 'asdafood.uz') { return 301 https://barvent.uz/products/pishevoy-zagustitel$request_uri; } }
Save File
Cancel