Dies ist nginx Konfiguration page.what Code muss ich ändern, ein Bild auf Wartung HTML-Seite zu bekommen.Wie Bild in Wartung Seite einzufügen Nginx mit Server
server {
listen 80;
server_name 10.10.10.72;
location = /favicon.ico { access_log off; log_not_found off; }
location /static/ {
root /home/fa/timesheet;
}
location/{
if ($remote_addr != 10.10.10.120) {
return 503;
}
include proxy_params;
proxy_pass http://unix:/home/fa/timesheet/timesheet.sock;
}
#Error pages.
error_page 503 /maintenance.html;
location = /maintenance.html {
root /home/fa/timesheet ;
}
}
Meine Wartung HTML-Seite ist:
<html>
<body>
<h1 style="text-align:center;">
<h1 style="color:#33B2FF;">Timesheet has gone for time travel..... will be back with more users :)</h1>
<h1 style="color:#83A1B4;">Please visit later.</h1>
</body>
</html>
Ich habe ein Bild auf ihn einzufügen. Bitte helfen Sie.
Vielen Dank im Voraus