~comcloudway/ansible-srht

5aeb753d937e376c7ef440a1a8a7c480ad99f118 — Jakob Meier 10 months ago aed755f
Fixed broken builds database and nginx proxy
M roles/builds.sr.ht/tasks/config.yml => roles/builds.sr.ht/tasks/config.yml +1 -1
@@ 14,7 14,7 @@
      debug-port=5002
      #
      # Configures the SQLAlchemy connection string for the database.
      connection-string=postgresql://postgres@127.0.0.1/buildsrht?sslmode=disable
      connection-string=postgresql://postgres@127.0.0.1/buildssrht?sslmode=disable
      #
      # Set to "yes" to automatically run migrations on package upgrade.
      migrate-on-upgrade=yes

M roles/builds.sr.ht/tasks/nginx.yml => roles/builds.sr.ht/tasks/nginx.yml +1 -1
@@ 2,7 2,7 @@
- name: Copy nginx config file
  ansible.builtin.template:
    src: nginx.conf
    dest: /etc/nginx/http.d/hub.sr.ht.conf
    dest: /etc/nginx/http.d/builds.sr.ht.conf
  register: nginxconf

- name: Start & enable nginx

M roles/builds.sr.ht/templates/nginx.conf => roles/builds.sr.ht/templates/nginx.conf +1 -1
@@ 1,6 1,6 @@
server {
	include sourcehut.conf;
	server_name hub.{{ srht_domain }};
	server_name builds.{{ srht_domain }};

	client_max_body_size 100M;