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

Indentation fix for location template #1417

Merged
merged 1 commit into from
Oct 19, 2020
Merged

Conversation

Rubueno
Copy link
Contributor

@Rubueno Rubueno commented Oct 19, 2020

Pull Request (PR) description

Line up add_header with surrounding params

This Pull Request (PR) fixes the following issues

n/a

--- /etc/nginx/sites-available/example.org.conf	2020-10-19 22:14:24.053208210 +0200
+++ /tmp/puppet-file20201019-28480-1vh74v	2020-10-19 22:16:05.452314220 +0200
@@ -6,7 +6,7 @@
   server_name           example.org;

   resolver                   8.8.8.8 8.8.4.4 valid=300s;
-    add_header "X-Frame-Options" "SAMEORIGIN";
+  add_header "X-Frame-Options" "SAMEORIGIN";

   return 301 https://$host:443$request_uri;
   access_log            /var/log/nginx/access.log combined;
@@ -34,7 +34,7 @@
   resolver                   8.8.8.8 8.8.4.4 valid=300s;
   access_log            /var/log/nginx/ssl-access.log combined;
   error_log             /var/log/nginx/ssl-error.log;
-    add_header "X-Frame-Options" "SAMEORIGIN";
+  add_header "X-Frame-Options" "SAMEORIGIN";


   location / {

Line up `add_header` with surrounding params
@bastelfreak bastelfreak changed the title Indentation fix Indentation fix for location template Oct 19, 2020
@bastelfreak bastelfreak merged commit b0b4e6b into voxpupuli:master Oct 19, 2020
@bastelfreak
Copy link
Member

thanks for the fix!

@Rubueno Rubueno deleted the indent branch October 20, 2020 08:57
bastelfreak added a commit that referenced this pull request 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.

None yet

2 participants