Files
Work-configuration-file/nginx/www.seedr.space.conf
2025-10-07 15:58:15 +08:00

41 lines
1.1 KiB
Plaintext

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