This repository has been archived on 2024-09-04. You can view files and clone it, but cannot push or open issues or pull requests.
arimelody.me-static/nginx.conf
2023-10-02 06:30:54 +01:00

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;
}
}