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:
44 - www.planetpython.org
55 sites:
66 planetpython:
7+ domain: planetpython.org
78 cache: /srv/cache/
89 output: /srv/planetpython.org/
910 image: ghcr.io/python/planetpython:latest
1011 config: config.ini
1112 planetpython-3 :
13+ domain: 3.planetpython.org
1214 cache: /srv/cache3/
1315 output: /srv/planetpython.org/3/
1416 image: ghcr.io/python/planetpython-3:latest
Original file line number Diff line number Diff line change 22
33server {
44 listen 9000 ssl;
5- server_name {{ site }};
5+ server_name {{ info["domain "] }};
66 error_log /var/log/nginx/{{ site }}.error.log;
77 access_log /var/log/nginx/{{ site }}.access.log;
88 ssl_certificate /etc/ssl/private/planet.psf.io.pem;
99 ssl_certificate_key /etc/ssl/private/planet.psf.io.pem;
1010
11- root /srv/ {{ site }}/ ;
11+ root {{ info["output "] }};
1212}
1313
1414{% for domain in info .get ("subject_alternative_names" , []) %}
You can’t perform that action at this time.
0 commit comments