mirror of
https://github.com/eiblog/eiblog.git
synced 2026-02-04 13:52:26 +08:00
Update eiblog.conf
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user