photos.nasqueron.org is a Pixelfed instance configured through PaaS Docker.
Should cope with alias for hostnames, so we can use photo (without s) as subdomain alias.
Already configured in DNS.
photos.nasqueron.org is a Pixelfed instance configured through PaaS Docker.
Should cope with alias for hostnames, so we can use photo (without s) as subdomain alias.
Already configured in DNS.
Phabricator uses this:
{%- if aliases %} # ------------------------------------------------------------- # Redirects for app aliases domains # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - server { listen 80; listen [::]:80; server_name {{ aliases }}; include includes/tls; ssl_certificate /srv/letsencrypt/etc/live/{{ fqdn }}/fullchain.pem; ssl_certificate_key /srv/letsencrypt/etc/live/{{ fqdn }}/privkey.pem; include includes/letsencrypt; return 301 https://{{ fqdn }}$request_uri; } {%- endif %}
We can configure aliases in pillar directly, that's already passed to nginx configuration template.