diff options
| author | Yuqian Yang <crupest@crupest.life> | 2025-02-20 17:52:32 +0800 | 
|---|---|---|
| committer | Yuqian Yang <crupest@crupest.life> | 2025-02-20 18:02:19 +0800 | 
| commit | e870972428794f51912dfa955c6de0d712c74db1 (patch) | |
| tree | 39d5a6118e31f211c3cc511d73618bca4082578e /templates/disabled/nginx | |
| parent | 75df0f7c4eaec0d50157ea8dc048241465da9c6c (diff) | |
| download | crupest-e870972428794f51912dfa955c6de0d712c74db1.tar.gz crupest-e870972428794f51912dfa955c6de0d712c74db1.tar.bz2 crupest-e870972428794f51912dfa955c6de0d712c74db1.zip | |
feat(cru-py): use new template format.
Diffstat (limited to 'templates/disabled/nginx')
| -rw-r--r-- | templates/disabled/nginx/code.conf.template | 4 | ||||
| -rw-r--r-- | templates/disabled/nginx/timeline.conf.template | 4 | 
2 files changed, 4 insertions, 4 deletions
| diff --git a/templates/disabled/nginx/code.conf.template b/templates/disabled/nginx/code.conf.template index 205c7ba..0abe042 100644 --- a/templates/disabled/nginx/code.conf.template +++ b/templates/disabled/nginx/code.conf.template @@ -1,5 +1,5 @@  server { -    server_name code.${CRUPEST_DOMAIN}; +    server_name code.@@CRUPEST_DOMAIN@@;      include common/https-listen;      location / { @@ -12,7 +12,7 @@ server {  server { -    server_name code.${CRUPEST_DOMAIN}; +    server_name code.@@CRUPEST_DOMAIN@@;      include common/http-listen;      include common/https-redirect; diff --git a/templates/disabled/nginx/timeline.conf.template b/templates/disabled/nginx/timeline.conf.template index 551e0ae..ce7341b 100644 --- a/templates/disabled/nginx/timeline.conf.template +++ b/templates/disabled/nginx/timeline.conf.template @@ -1,7 +1,7 @@  server {      listen 443 ssl http2;      listen [::]:443 ssl http2; -    server_name timeline.${CRUPEST_DOMAIN}; +    server_name timeline.@@CRUPEST_DOMAIN@@;      location / {          include common/reverse-proxy; @@ -14,7 +14,7 @@ server {  server {      listen 80;      listen [::]:80; -    server_name timeline.${CRUPEST_DOMAIN}; +    server_name timeline.@@CRUPEST_DOMAIN@@;      include common/https-redirect;      include common/acme-challenge; | 
