Skip to content

Commit c6d5bd3

Browse files
committed
refactor: Remove background of maintenance image
1 parent 8b7ba62 commit c6d5bd3

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

roles/common/files/maintenance-info.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
<div class="container">
3434
<h1>Firewall Orchestrator is under maintenance</h1>
3535
<p>Sorry for the inconvenience. Please try again in 10 minutes.</p>
36-
<img src="men-at-work.jpg" alt="Maintenance Image" width="600px">
36+
<img src="men-at-work.png" alt="Maintenance Image" width="600px">
3737
</div>
3838
</body>
3939
</html>

roles/common/files/men-at-work.jpg

-69.2 KB
Binary file not shown.

roles/common/files/men-at-work.png

170 KB
Loading

roles/common/tasks/maintenance-site.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616

1717
- name: copy maintenance web site image
1818
copy:
19-
src: men-at-work.jpg
20-
dest: "/var/www/html/men-at-work.jpg"
19+
src: men-at-work.png
20+
dest: "/var/www/html/men-at-work.png"
2121
mode: "0644"
2222

2323
- name: enable apache2 required modules

roles/common/templates/httpd-maintenance.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
RewriteEngine On
88
RewriteCond %{HTTP_HOST} ^(.*)$
99
RewriteCond %{REQUEST_URI} !^/$
10-
RewriteCond %{REQUEST_URI} !^/men-at-work.jpg$
10+
RewriteCond %{REQUEST_URI} !^/men-at-work.png$
1111
RewriteRule ^(.*)$ / [R=301,L]
1212

1313
ErrorLog /var/log/{{ webserver_package_name }}/error.log
@@ -33,7 +33,7 @@
3333
RewriteEngine On
3434
RewriteCond %{HTTP_HOST} ^(.*)$
3535
RewriteCond %{REQUEST_URI} !^/$
36-
RewriteCond %{REQUEST_URI} !^/men-at-work.jpg$
36+
RewriteCond %{REQUEST_URI} !^/men-at-work.png$
3737
RewriteRule ^(.*)$ / [R=301,L]
3838

3939
# --- Security Headers ---

0 commit comments

Comments
 (0)