Skip to content

Commit

Permalink
Fix indent
Browse files Browse the repository at this point in the history
  • Loading branch information
PepijnBoers committed Nov 23, 2020
1 parent bb8c3b5 commit 952bc7d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
12 changes: 6 additions & 6 deletions nginx/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,19 @@ events {
http {
server {
listen 80 default_server;
server_name localhost example.org www.example.org;
server_name example.org www.example.org;

location / {
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_pass http://app;
}

location /matomo.php {
proxy_set_header Host $host;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_pass http://app$request_uri;
}
}
}
}
8 changes: 4 additions & 4 deletions ssl/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@ http {
ssl_ciphers HIGH:!aNULL:!MD5;

location / {
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_pass http://app;
}

location /matomo.php {
proxy_set_header Host $host;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_pass http://app$request_uri;
}
}
Expand Down

0 comments on commit 952bc7d

Please sign in to comment.