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

Fix indention for add_header at template calls #1424

Merged
merged 1 commit into from
Nov 4, 2020

Conversation

crazymind1337
Copy link
Member

Pull Request (PR) description

Introduced in !1417. The template server/locations/headers.erb is included in several other templates. At those templates the indention of the call is incorrect and leads to:

         allow 10.129.14.49;
         deny all;
         gzip off;
    -    add_header "Content-Type" "text/html";
    -    add_header "Status" "406";
    +  add_header "Content-Type" "text/html";
    +  add_header "Status" "406";
         root      /var/www/maintenance/scripts;
         return 406 "[406] request is not acceptable

@crazymind1337 crazymind1337 marked this pull request as ready for review November 4, 2020 04:10
@bastelfreak bastelfreak merged commit eaea6e5 into voxpupuli:master Nov 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants