例如把:
test.domain.com:8000/event/123
跳转到:
https://test.domain.com/event/123
例如把:
test.domain.com:8000/event/123
跳转到:
https://test.domain.com/event/123
server {
listen 8000;
server_name test.domain.com;
return 301 $scheme://test.domain.com$request_uri;
}
2 回答2.4k 阅读✓ 已解决
1 回答1.8k 阅读✓ 已解决
1 回答1.2k 阅读✓ 已解决
3 回答996 阅读
1 回答715 阅读
560 阅读
在你8000的server配置里加上下面代码就行