Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
server {
listen 80;
server_name www.site.com site.com;
return 301 https://site.com$request_uri;
}
server {
listen 443 ssl;
server_name www.site.com;
return 301 https://site.com$request_uri;
}
server {
listen 443 ssl;
server_name site.com;
# основная часть
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question