basic bones for music page- needs db and custom server!
This commit is contained in:
parent
c6442e3333
commit
a5ea652f6b
7 changed files with 523 additions and 25 deletions
27
nginx.conf
27
nginx.conf
|
@ -1,20 +1,21 @@
|
|||
server {
|
||||
listen 443 ssl;
|
||||
server_name arimelody.me;
|
||||
listen 443 ssl;
|
||||
server_name arimelody.me;
|
||||
|
||||
ssl_protocols TLSv1.2 TLSv1.3;
|
||||
ssl_protocols TLSv1.2 TLSv1.3;
|
||||
|
||||
ssl_certificate /etc/nginx/ssl/arimelody.crt;
|
||||
ssl_certificate_key /etc/nginx/ssl/arimelody.key;
|
||||
ssl_certificate /etc/nginx/ssl/arimelody.crt;
|
||||
ssl_certificate_key /etc/nginx/ssl/arimelody.key;
|
||||
|
||||
root /usr/share/nginx/arimelody/;
|
||||
root /usr/share/nginx/arimelody/;
|
||||
|
||||
client_max_body_size 0;
|
||||
client_max_body_size 0;
|
||||
|
||||
location / {
|
||||
}
|
||||
location / {
|
||||
try_files $uri $uri/ $uri.html =404;
|
||||
}
|
||||
|
||||
if ($scheme != "https") {
|
||||
return 301 https://$server_name$request_uri;
|
||||
}
|
||||
}
|
||||
if ($scheme != "https") {
|
||||
return 301 https://$server_name$request_uri;
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue