初始化提交
This commit is contained in:
40
nginx/www.indexgravity.com.conf
Normal file
40
nginx/www.indexgravity.com.conf
Normal file
@@ -0,0 +1,40 @@
|
||||
server {
|
||||
listen 80;
|
||||
server_name indexgravity.com www.indexgravity.com;
|
||||
return 301 https://www.indexgravity.com$request_uri;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 443 ssl;
|
||||
server_name zyplin.online;
|
||||
|
||||
ssl_certificate /data/tengine/conf/certificate/www.indexgravity.com.crt;
|
||||
ssl_certificate_key /data/tengine/conf/certificate/www.indexgravity.com.key;
|
||||
ssl_protocols TLSv1.2 TLSv1.3;
|
||||
ssl_ciphers HIGH:!aNULL:!MD5;
|
||||
|
||||
return 301 https://www.indexgravity.com$request_uri;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 443 ssl;
|
||||
server_name www.indexgravity.com;
|
||||
|
||||
ssl_certificate /data/tengine/conf/certificate/www.indexgravity.com.crt;
|
||||
ssl_certificate_key /data/tengine/conf/certificate/www.indexgravity.com.key;
|
||||
ssl_protocols TLSv1.2 TLSv1.3;
|
||||
ssl_ciphers HIGH:!aNULL:!MD5;
|
||||
|
||||
access_log /data/tengine/logs/www.indexgravity.com.log;
|
||||
error_log /data/tengine/logs/www.indexgravity.com.log;
|
||||
|
||||
location / {
|
||||
root /data/tengine/html/indexgravity.com/;
|
||||
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