初始化提交
This commit is contained in:
40
nginx/www.seedr.space.conf
Normal file
40
nginx/www.seedr.space.conf
Normal file
@@ -0,0 +1,40 @@
|
||||
server {
|
||||
listen 80;
|
||||
server_name seedr.space www.seedr.space;
|
||||
return 301 https://www.seedr.space$request_uri;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 443 ssl;
|
||||
server_name seedr.space;
|
||||
|
||||
ssl_certificate /data/tengine/certificate/www.seedr.space.crt;
|
||||
ssl_certificate_key /data/tengine/certificate/www.seedr.space.key;
|
||||
ssl_protocols TLSv1.2 TLSv1.3;
|
||||
ssl_ciphers HIGH:!aNULL:!MD5;
|
||||
|
||||
return 301 https://www.seedr.space$request_uri;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 443 ssl;
|
||||
server_name www.seedr.space;
|
||||
|
||||
ssl_certificate /data/tengine/certificate/www.seedr.space.crt;
|
||||
ssl_certificate_key /data/tengine/certificate/www.seedr.space.key;
|
||||
ssl_protocols TLSv1.2 TLSv1.3;
|
||||
ssl_ciphers HIGH:!aNULL:!MD5;
|
||||
|
||||
access_log /data/tengine/logs/www.seedr.space.log;
|
||||
error_log /data/tengine/logs/www.seedr.space.log;
|
||||
|
||||
location / {
|
||||
root /data/tengine/html/seedr.space/;
|
||||
index index.html index.htm;
|
||||
try_files $uri $uri/ /index.html;
|
||||
}
|
||||
error_page 500 502 503 504 /50x.html;
|
||||
location = /50x.html {
|
||||
root html;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user