mirror of
https://shylinux.com/x/ContextOS
synced 2025-04-26 17:24:05 +08:00
61 lines
1.2 KiB
Nginx Configuration File
61 lines
1.2 KiB
Nginx Configuration File
worker_processes 1;
|
|
events { worker_connections 1024; }
|
|
|
|
http {
|
|
include mime.types;
|
|
default_type application/octet-stream;
|
|
|
|
sendfile on;
|
|
proxy_buffering off;
|
|
keepalive_timeout 1800;
|
|
|
|
server {
|
|
listen 80;
|
|
server_name contexts.top;
|
|
location / { return 302 https://contexts.top/; }
|
|
}
|
|
|
|
server {
|
|
listen 443 ssl;
|
|
server_name contexts.top;
|
|
|
|
ssl_certificate_key contexts.top_nginx/contexts.top.key;
|
|
ssl_certificate contexts.top_nginx/contexts.top_bundle.pem;
|
|
|
|
include location.conf;
|
|
}
|
|
|
|
server {
|
|
listen 80;
|
|
server_name contexts.com.cn;
|
|
location / { return 302 https://contexts.com.cn/; }
|
|
}
|
|
|
|
server {
|
|
listen 443 ssl;
|
|
server_name contexts.com.cn;
|
|
|
|
ssl_certificate_key 7424713_contexts.com.cn.key;
|
|
ssl_certificate 7424713_contexts.com.cn.pem;
|
|
|
|
include location.conf;
|
|
}
|
|
|
|
server {
|
|
listen 80;
|
|
server_name shylinux.com;
|
|
location / { return 302 https://shylinux.com/; }
|
|
}
|
|
|
|
server {
|
|
listen 443 ssl;
|
|
server_name shylinux.com;
|
|
|
|
ssl_certificate_key 6157098_shylinux.com.key;
|
|
ssl_certificate 6157098_shylinux.com.pem;
|
|
|
|
include location.conf;
|
|
}
|
|
}
|
|
|