mirror of
https://github.com/eiblog/eiblog.git
synced 2026-02-23 06:32:28 +08:00
Update eiblog.conf
This commit is contained in:
@@ -17,7 +17,7 @@ server {
|
|||||||
server_tokens off;
|
server_tokens off;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
rewrite ^/(.*)$ https://$host/$1 permanent;
|
rewrite ^/(.*)$ https://deepzz.com/$1 permanent;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -61,6 +61,10 @@ server {
|
|||||||
root /usr/share/nginx/html;
|
root /usr/share/nginx/html;
|
||||||
expires 1d;
|
expires 1d;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ($host != 'deepzz.com' ) {
|
||||||
|
rewrite ^/(.*)$ https://deepzz.com/$1 permanent;
|
||||||
|
}
|
||||||
|
|
||||||
# proxy setting
|
# proxy setting
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
|
|||||||
Reference in New Issue
Block a user