~hloeung/ubuntu-mirror-charm:cors

Last commit made on 2024-01-10
Get this branch:
git clone -b cors https://git.launchpad.net/~hloeung/ubuntu-mirror-charm
Only Haw Loeung can upload to this branch. If you are Haw Loeung please log in for upload directions.

Branch merges

Branch information

Name:
cors
Repository:
lp:~hloeung/ubuntu-mirror-charm

Recent commits

ac61981... by Haw Loeung

Add CORS allow header for cloud-images *:download.json files

This is so that the content can be reused under different domains.

Succeeded
[SUCCEEDED] test:0 (build)
11 of 1 result
09cfa30... by Simon Déziel

Fix Cache-Control handling of files under "/by-hash/" directory

Reviewed-on: https://code.launchpad.net/~sdeziel/ubuntu-mirror-charm/+git/ubuntu-mirror-charm/+merge/455735
Reviewed-by: Haw Loeung <email address hidden>

664a025... by Simon Déziel

Update testdata for Cache-Control s-maxage

Signed-off-by: Simon Deziel <email address hidden>

bb2fd27... by Simon Déziel

apache-cloud-archive: Add Cache-Control s-maxage as done in archive-ubuntu.tmpl

Signed-off-by: Simon Deziel <email address hidden>

e45ab94... by Simon Déziel

apache-old-releases: Add Cache-Control s-maxage as done in archive-ubuntu.tmpl

Signed-off-by: Simon Deziel <email address hidden>

d90ec63... by Simon Déziel

apache-extras: Add Cache-Control s-maxage as done in archive-ubuntu.tmpl

Signed-off-by: Simon Deziel <email address hidden>

a178287... by Simon Déziel

Update testdata for Cache-Control max-age of /by-hash/ directory

Signed-off-by: Simon Deziel <email address hidden>

05562fe... by Simon Déziel

Properly add Cache-Control max-age for /by-hash/ directory

Signed-off-by: Simon Deziel <email address hidden>

9fc1be1... by Ivan

ubuntu@juju-2c5fbf-2:/etc/systemd/system/logrotate.timer.d$ sudo systemctl cat logrotate.timer
# Warning: logrotate.timer changed on disk, the version systemd has loaded is outdated.
# This output shows the current version of the unit's original fragment and drop-in files.
# If fragments or drop-ins were added or removed, they are not properly reflected in this output.
# Run 'systemctl daemon-reload' to reload units.
# /lib/systemd/system/logrotate.timer
[Unit]
Description=Daily rotation of log files
Documentation=man:logrotate(8) man:logrotate.conf(5)

[Timer]
OnCalendar=daily
AccuracySec=1h
Persistent=true

[Install]
WantedBy=timers.target

# /etc/systemd/system/logrotate.timer.d/archive-server-idle.conf
#-------------------------------------------------#
# This file is Juju managed - do not edit by hand #
#-------------------------------------------------#
[Timer]
OnCalendar=

ubuntu@juju-2c5fbf-2:/etc/systemd/system/logrotate.timer.d$ cat archive-server-idle.conf
#-------------------------------------------------#
# This file is Juju managed - do not edit by hand #
#-------------------------------------------------#
[Timer]
OnCalendar=
OnCalendar=*-*-* 04:30:00
AccuracySec=1min

Reviewed-on: https://code.launchpad.net/~ivaneloff/ubuntu-mirror-charm/+git/ubuntu-mirror-charm/+merge/455093
Reviewed-by: Haw Loeung <email address hidden>
Reviewed-by: 🤖 Canonical IS Review Bot <email address hidden>
Reviewed-by: Barry Price <email address hidden>

c24b2bf... by Ivan

Added timer override