mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-11-16 22:13:47 +08:00
nginx
This commit is contained in:
@@ -48,14 +48,6 @@ server {
|
||||
access_log /var/log/nginx/access.log;
|
||||
error_log /var/log/nginx/error.log;
|
||||
|
||||
|
||||
#REWRITE-START
|
||||
if ($host ~* ^www\.(.+)$) {
|
||||
set $new_host \$1;
|
||||
return 301 https://$new_host$request_uri;
|
||||
}
|
||||
#REWRITE-END
|
||||
|
||||
#PROXY-START/
|
||||
|
||||
location ^~ /
|
||||
|
||||
Reference in New Issue
Block a user