20 lines
387 B
Nginx Configuration File
20 lines
387 B
Nginx Configuration File
|
server {
|
||
|
listen 443 ssl;
|
||
|
server_name arimelody.me;
|
||
|
|
||
|
ssl_protocols TLSv1.2 TLSv1.3;
|
||
|
|
||
|
ssl_certificate /etc/nginx/ssl/arimelody.crt;
|
||
|
ssl_certificate_key /etc/nginx/ssl/arimelody.key;
|
||
|
|
||
|
root /usr/share/nginx/arimelody/;
|
||
|
|
||
|
client_max_body_size 0;
|
||
|
|
||
|
location / {
|
||
|
}
|
||
|
|
||
|
if ($scheme != "https") {
|
||
|
return 301 https://$server_name$request_uri;
|
||
|
}
|
||
|
}
|