Update eiblog.conf

This commit is contained in:
Deepzz
2022-03-22 18:16:12 +08:00
committed by GitHub
parent 364d293660
commit daa561e67e

View File

@@ -17,7 +17,7 @@ server {
server_tokens off;
location / {
rewrite ^/(.*)$ https://$host/$1 permanent;
rewrite ^/(.*)$ https://deepzz.com/$1 permanent;
}
}
@@ -61,6 +61,10 @@ server {
root /usr/share/nginx/html;
expires 1d;
}
if ($host != 'deepzz.com' ) {
rewrite ^/(.*)$ https://deepzz.com/$1 permanent;
}
# proxy setting
proxy_http_version 1.1;