Skip to content

Commit

Permalink
feat: 更新 xiaowu.dev 子域名不做重定向
Browse files Browse the repository at this point in the history
  • Loading branch information
xuexb committed Nov 9, 2024
1 parent 2024f68 commit 2a6635e
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion vhost/xiaowu.dev.conf
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,21 @@ server {

server {
listen 443 ssl http2;
server_name *.xiaowu.dev xiaowu.dev;
server_name www.xiaowu.dev xiaowu.dev;

include inc/ssl.xiaowu.dev.conf;

rewrite ^(.*) https://xuexb.com$1 permanent;
}

server {
listen 443 ssl http2;
server_name *.xiaowu.dev;

include inc/ssl.xiaowu.dev.conf;

location / {
set $dyups $http_host;
include inc/proxy_nohost.conf;
}
}

0 comments on commit 2a6635e

Please sign in to comment.