Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Point photos.svsticky.nl to chroma.svsticky.nl #456

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading