aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md6
-rw-r--r--template/nginx/redirect.conf.template10
2 files changed, 10 insertions, 6 deletions
diff --git a/README.md b/README.md
index 0cb833e..f22a3a8 100644
--- a/README.md
+++ b/README.md
@@ -1,8 +1,8 @@
-## Hi! This is **crupest**!
+# Hi! This is **crupest**!
Nice to meet you! 😊
-šŸ”­ I'm currently working on [cru](https://github.com/crupest/cru), a C++ direct ui library. It is in embryonic form. But I'll keep develop it with my ā¤ļø. Feel free to comment in the repo via issues.
+šŸ—ļø I'm currently working on [cru](https://github.com/crupest/cru), a C++ direct ui library. It is in embryonic form. But I'll keep develop it with my ā¤ļø. Feel free to comment in the repo via issues.
🌱 I’m currently majoring in Computer Science And Technology at WHPU.
@@ -10,7 +10,7 @@ Nice to meet you! 😊
šŸ’” I love programing and every creative technologies and ideas.
-šŸŽˆ I also have a [blog](https://crupest.life) which includes some emotional essays (in Chinese) written by me.
+šŸŽˆ I also have [a personal website](https://crupest.life) where you can get more information of me.
šŸ’¬ Contact me via my email, *crupest@outlook.com* , or open an issue in any of my repos.
diff --git a/template/nginx/redirect.conf.template b/template/nginx/redirect.conf.template
index 5b6b101..8d6d8fa 100644
--- a/template/nginx/redirect.conf.template
+++ b/template/nginx/redirect.conf.template
@@ -3,7 +3,9 @@ server {
listen [::]:443 ssl http2;
server_name ${CRUPEST_NGINX_SUBDOMAIN}.${CRUPEST_DOMAIN};
- return 301 ${CRUPEST_NGINX_URL}$request_uri;
+ location / {
+ return 301 ${CRUPEST_NGINX_URL}$request_uri;
+ }
}
server {
@@ -11,9 +13,11 @@ server {
listen [::]:80;
server_name ${CRUPEST_NGINX_SUBDOMAIN}.${CRUPEST_DOMAIN};
+ location / {
+ return 301 ${CRUPEST_NGINX_URL}$request_uri;
+ }
+
location /.well-known/acme-challenge {
root /srv/acme;
}
-
- return 301 ${CRUPEST_NGINX_URL}$request_uri;
}