# HG changeset patch # User Luke Hoersten # Date 1774641403 18000 # Node ID 4ca131e557dc9283eccdf9851ba319ab61d607f5 # Parent 7a54477702cce76d0c209657622b00ae31ab295e Fixed paper build URL and nginx logging off. diff -r 7a54477702cc -r 4ca131e557dc apt-cacher/server/tasks/main.yaml --- a/apt-cacher/server/tasks/main.yaml Wed Mar 25 21:42:49 2026 -0500 +++ b/apt-cacher/server/tasks/main.yaml Fri Mar 27 14:56:43 2026 -0500 @@ -18,6 +18,8 @@ - { key: "Port", val: "{{apt_cacher_port}}" } - { key: "DlMaxRetries", val: "{{apt_cacher_max_dl_retries}}" } - { key: "DontCacheResolved", val: ".*InRelease" } + - { key: "ConnectProto", val: "v4" } + notify: restart apt-cacher-ng diff -r 7a54477702cc -r 4ca131e557dc bin/build/defaults/main.yaml --- a/bin/build/defaults/main.yaml Wed Mar 25 21:42:49 2026 -0500 +++ b/bin/build/defaults/main.yaml Fri Mar 27 14:56:43 2026 -0500 @@ -1,6 +1,6 @@ --- -bin_version: "2.0.2" +bin_version: "2.0.1" # https://github.com/w4/bin/releases bin_tar: "https://github.com/w4/bin/archive/refs/tags/v{{bin_version}}.tar.gz" bin_build_dir: "/tmp/bin-{{bin_version}}" diff -r 7a54477702cc -r 4ca131e557dc minecraft/server/defaults/main.yaml --- a/minecraft/server/defaults/main.yaml Wed Mar 25 21:42:49 2026 -0500 +++ b/minecraft/server/defaults/main.yaml Fri Mar 27 14:56:43 2026 -0500 @@ -10,12 +10,10 @@ minecraft_view_distance: "10" minecraft_world_name: "world" minecraft_dir: "{{minecraft_parent_dir}}/minecraft/{{minecraft_world_name}}" -minecraft_url: "https://api.papermc.io/v2/projects/paper/versions/{{minecraft_paper_version}}/builds/{{minecraft_paper_build}}/downloads/paper-{{minecraft_paper_version}}-{{minecraft_paper_build}}.jar" - # https://papermc.io/downloads/paper # paper is a spigot derivative minecraft_paper_version: "1.21.11" -minecraft_paper_build: "127" +minecraft_paper_build: "69" minecreat_plugins_enabled: - "dynmap" diff -r 7a54477702cc -r 4ca131e557dc minecraft/server/tasks/main.yaml --- a/minecraft/server/tasks/main.yaml Wed Mar 25 21:42:49 2026 -0500 +++ b/minecraft/server/tasks/main.yaml Fri Mar 27 14:56:43 2026 -0500 @@ -17,10 +17,16 @@ mode: "0755" state: "directory" +- name: get minecraft download info + uri: + url: "https://api.papermc.io/v2/projects/paper/versions/{{minecraft_paper_version}}/builds/{{minecraft_paper_build}}" + return_content: yes + register: minecraft_build_info + - name: download minecraft become: yes get_url: - url: "{{minecraft_url}}" + url: "https://fill-data.papermc.io/v1/objects/{{minecraft_build_info.json.downloads.application.sha256}}/paper-{{minecraft_paper_version}}-{{minecraft_paper_build}}.jar" dest: "{{minecraft_dir}}/server.jar" mode: "0755" notify: restart minecraft diff -r 7a54477702cc -r 4ca131e557dc nginx/files/nginx.conf --- a/nginx/files/nginx.conf Wed Mar 25 21:42:49 2026 -0500 +++ b/nginx/files/nginx.conf Fri Mar 27 14:56:43 2026 -0500 @@ -38,12 +38,7 @@ # Logging Settings ## - map $uri $loggable { - default 1; - ~*\.(css|js|ico|png|jpg|jpeg|gif|svg|woff|woff2|ttf|eot|webp|map)$ 0; - } - - access_log /var/log/nginx/access.log combined if=$loggable; + access_log off; error_log /var/log/nginx/error.log; ##