Skip to content

Compress the subdomain block into a single block #16

@jbriones1

Description

@jbriones1

We have multiple server blocks that have duplicated code. According to the nginx docs, we can use regex to grab the subdomain and use it as a variable.

https://nginx.org/en/docs/http/server_names.html
Image

This looks easy, but every time I think that I break access to the site, so I'll open this up to someone else if they want to work on it until I have the time to get it working.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions