Skip to content

Commit

Permalink
Point photos.svsticky.nl to chroma.svsticky.nl
Browse files Browse the repository at this point in the history
  • Loading branch information
TobiasDeBruijn committed May 1, 2024
1 parent 6a70318 commit 81bbec2
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 8 deletions.
9 changes: 1 addition & 8 deletions ansible/group_vars/all/websites.yml
Original file line number Diff line number Diff line change
Expand Up @@ -169,14 +169,7 @@ websites:
alternative_names: []
custom_config: true
state: "present"

- name: "photos.{{ canonical_hostname }}"
user: "pxl"
alternative_names:
- "fotos.{{ canonical_hostname }}"
authenticated: true
state: "present"


- name: "execut-speakers.{{ canonical_hostname }}"
user: "symposium"
alternative_names: []
Expand Down
15 changes: 15 additions & 0 deletions ansible/roles/chroma/templates/chroma.conf.j2
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# {{ ansible_managed }}

server {
listen 443 ssl http2;
listen [::]:443 ssl http2;

server_name photos.{{ canonical_hostname }};

ssl_certificate /etc/letsencrypt/live/photos.{{ canonical_hostname }}/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/photos.{{ canonical_hostname }}/privkey.pem;
ssl_trusted_certificate /etc/letsencrypt/live/photos.{{ canonical_hostname }}/chain.pem;

include includes/security-headers.conf;

return 301 https://chroma.{{ canonical_hostname }}$request_uri;
}

server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
Expand Down

0 comments on commit 81bbec2

Please sign in to comment.