- Edited
Hello,
We set up site with root domain: mysite.com
and I noted these two domain are not redirect to https:
http://mysite.com,
http://www.mysite.com
and it looks like this screenshot:
Here is the content, when I try wo site edit:
GNU nano 6.2 /etc/nginx/sites-available/mysite.com
server {
# Uncomment the following line for domain mapping
# listen 80 default_server;
server_name mysite.com *.mysite.com;
# Uncomment the following line for domain mapping
#server_name_in_redirect off;
access_log /var/log/nginx/mysite.com.access.log rt_cache;
error_log /var/log/nginx/mysite.com.error.log;
root /var/www/mysite.com/htdocs;
index index.php index.html index.htm;
include common/wpfc-php81.conf;
include common/wpcommon-php81.conf;
include common/locations-wo.conf;
include /var/www/mysite.com/conf/nginx/*.conf;
}
Could anyone let me know how to have a check? or which file should I touch?
Thanks in advance