Answer the question
In order to leave comments, you need to log in
What servername should I write in my case or what else should I write in the config?
I want to raise the laravel server, I created a file in the site-enabled folder, I write in it
server {
listen 443 ssl;
ssl_certificate /etc/ssl/certs/dev.site.com.crt;
ssl_certificate_key /etc/ssl/private/dev.site.com.key;
ssl_trusted_certificate /etc/ssl/certs/ca6.server1.free.crt;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_ciphers HIGH:!aNULL:!MD5:!kEDH;
keepalive_timeout 70;
root /home/user/www/dev/project_laravel/project/public;
index index.php index.html index.htm;
location /project_laravel/project {
try_files $uri $uri/ /index.php?$query_string;
}
}
Answer the question
In order to leave comments, you need to log in
1. The site.com domain does not belong to you (however, like anyone else), you cannot use it.
For local development, use localhost
2. Server_name must be a domain, not a URL
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question