File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -4,11 +4,13 @@ planet:
4
4
- www.planetpython.org
5
5
sites:
6
6
planetpython:
7
+ domain: planetpython.org
7
8
cache: /srv/cache/
8
9
output: /srv/planetpython.org/
9
10
image: ghcr.io/python/planetpython:latest
10
11
config: config.ini
11
12
planetpython-3 :
13
+ domain: 3.planetpython.org
12
14
cache: /srv/cache3/
13
15
output: /srv/planetpython.org/3/
14
16
image: ghcr.io/python/planetpython-3:latest
Original file line number Diff line number Diff line change 2
2
3
3
server {
4
4
listen 9000 ssl;
5
- server_name {{ site }};
5
+ server_name {{ info["domain "] }};
6
6
error_log /var/log/nginx/{{ site }}.error.log;
7
7
access_log /var/log/nginx/{{ site }}.access.log;
8
8
ssl_certificate /etc/ssl/private/planet.psf.io.pem;
9
9
ssl_certificate_key /etc/ssl/private/planet.psf.io.pem;
10
10
11
- root /srv/ {{ site }}/ ;
11
+ root {{ info["output "] }};
12
12
}
13
13
14
14
{% for domain in info .get ("subject_alternative_names" , []) %}
You can’t perform that action at this time.
0 commit comments